Please someone give me an idea ..
I have troubles about text in .aspx page which flows over list included in the .master main page on another browser..
User Profile
Collapse
-
reminder... someone helps me for this or if anybody could suggest any useful way to search for answerLeave a comment:
-
Text in .aspx page overflowing list in masterpage
I'm having troubles about text in .aspx page which flows over list included in the .master main page on another browser..
it looks wonderful on my screen, so how could I guarantee good looking on different platforms..?? -
System.Drawing.Image into System.Web.UI.WebControls.Image
Hi,
I have a method that creates a system.drawing. image behind the scenes.
I would like to load this image to a web page as a control, as in
td.controls.add (). I know I can save this generated image to the
server as a jpg, then load it as a webcontrols image, but I would
rather skip that step and load it without saving.
What do you suggest?
Thanks -
Eyadtrabulsi replied to Why locating DataSetTable Adapter into App_Code classes causes ObjectDataSources failin .NETdoes the arranging of creating objects & classes affect linking or interacting between them..?Leave a comment:
-
Eyadtrabulsi started a topic Why locating DataSetTable Adapter into App_Code classes causes ObjectDataSources failin .NETWhy locating DataSetTable Adapter into App_Code classes causes ObjectDataSources fail
I added this method to DataAccess.cs Class to have the ability to delete rows from my DataTable by using ObjectDataSourc e & DataGrid:
public void DeleteItems()
{
DataSet1TableAd apters.ProTable TableAdapter ProductsAdapter = new DataSet1TableAd apters.ProTable TableAdapter();
DataSet1.ProTab leRow product = new DataSet1.ProTab leRow();
ProductsAdapter .DeleteQuery(pr oduct.ProductID );... -
Now I fixed it up
I kept Server.MapPath" \\pics\\gallery \\" like it is, but i changed the ImageURL as follows:
imageBtt[i].ImageUrl = "~/pics/gallery/" + Path.GetFileNam eWithoutExtensi on(image) + ".jpg";
Elhamdullah it's going well now
Thank you all for trying to help me ;-)Leave a comment:
-
Of corse I have \\pics\\gallery directory and I have all my images inside
The root directory is called qebab I have all my directories inside so you could find pics and then gallery inside..
As for using ~/myimage.jpg I can not because my code detects the files itself inside "gallery" then it represents them, so I don't already know the file's name
I tried to use the virtual path as follows
...Leave a comment:
-
Is there anyway to solve it..?? or is there any logical reason ??
I realy need an expert's oppinion...Leave a comment:
-
I saved the .htm file by the offline version and checked out the code, it's the same but with SRC:
type=image src="Qebab Gallery_files/bath-m.jpg"
name=ctl00$Cont entPlaceHolder3 $bath-m><INPUT
id=ctl00_Conten tPlaceHolder3_b ath-m1 title=bath-m1
style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; WIDTH: 70px; HEIGHT: 47px; BORDER-RIGHT-WIDTH: 0px"...Leave a comment:
-
When I save it in .htm file, I checked the SRC of the image it looks empty as below:
type=image src="" name=ctl00$Cont entPlaceHolder3 $bath-m><INPUT
id=ctl00_Conten tPlaceHolder3_b ath-m1 title=bath-m1
style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; WIDTH: 70px; HEIGHT: 47px; BORDER-RIGHT-WIDTH: 0px"
but what I'm thinking of that as it's...Leave a comment:
-
You could make sure that the location of the images is correct because when you hoover over the images' button it gives you the name of the image which is taken by "code genereation of" the image itself
here is the code:
public void Page_Load(objec t sender, EventArgs e)
{
int i = 0;
// get the address of the directory, then seach for files with...Leave a comment:
-
Need an Expert Oppinion..
I have troubles with a technique I used to take my images from specific folder to show them by using ImageButton webcontrol
It is still working properly offline, but when I uploaded my website, it didn't work, everything is going well and there is no errors, it's loading the ImageButtons with names but it doesn't show the image itself, what could be the possibilities..
If you require, I would send you the code, but please I... -
Why does it act like this despite the code shows declared reaction..?Leave a comment:
-
Reload a page to refresh it's information
I have written code to creat .txt file then refreshing the information on the webpage to contain the content of the new generated file..
The page doesn't reflect the refreshment till the second reloading
How can I let it responses better...
Here is the code which relates to the clicked button:
protected void SubmitBtn_Click (object sender, EventArgs e)
{
... -
Now I got the solution myself, I submit it because might be useful for all after this long while trying to make that simple job..
We could use .Click instead of .OnClick as follows:
imageBtt[i].Click += new System.Web.UI.I mageClickEventH andler(ImageBut ton_Click);
Thanks for all who tried to help me in this..Leave a comment:
-
-
what's happening with this community?? Am I talking myself !!? I need only to know why it's protected, don't need any solution, but should know a reason, because it doesn't make sense like this with .NETLeave a comment:
-
Plz..... someone helps, I've been searching, reading and asking for more than a week, it's the last obstacle, if there is no solution please let me know..Leave a comment:
-
Please somone tells me if it's possible to use .OnClick event with Auto-generated ImageButtonLeave a comment:
No activity results to display
Show More
Leave a comment: