|
I got a problem to keep the textbox's text (textmode = password) when i do a page postback. the text just dont appear and i have to write it again, you know any solution in order to set the password textbox behavior just like the normal textbox behavior.
keep Learning and you never will be out of date...
|
|
|
|
|
You can't do it like normal textbox. What you need to do is set the value of that something like this:
TextBox2.Attributes.Add("value","kaushal");
Best Regards,
Apurva Kaushal
|
|
|
|
|
Set EnableViewState property of the textbox to false.
Thanks & regards,
Suresh Dayma
Everything Is Possible!
|
|
|
|
|
Hi everybody
How i can rotate some pictures in asp???
Thank's of everybody
-- modified at 11:27 Wednesday 20th September, 2006
when i want to read something good just seat and type it
|
|
|
|
|
Hi,
Am populating data into a tabstrip control dynamically.
When more tab gets added to tabstrip, it stretches out.
Can somebody tell if there is any property to make it come to the second line
rmr
|
|
|
|
|
HI
guys plzz let me know how to access the body tag onload event in Code behind file ,is there any way to do it,plzzzzz let me know it's urgent.
|
|
|
|
|
try these lines at html code page
give it id to body tag, add runat sentence
<br />
<body id="body" runat="server"><br />
At code Behind page, you will find the methods for body tag
example
<br />
protected void Page_Load(object sender, EventArgs e)<br />
{<br />
body.Load();<br />
}<br />
keep Learning and you never will be out of date...
|
|
|
|
|
Though I have therotical knowledge of AJAX and what it is.
I would like to know how to use AJAX in ASP.NET.
can anyone help me.
Sathiyaraj Ganesan
|
|
|
|
|
I just posted an article under the ASP.NET section called "AJAX Demystified - Part One". It explains how to create a simple shoutbox in ASP.NET (C#) using AJAX. Hopefully it'll help you understand a little more about it!
Quae narravi nullo modo negabo.
|
|
|
|
|
|
Thanks for providing the link. I was lazy.
Quae narravi nullo modo negabo.
|
|
|
|
|
Always there for these kind of effortless works..
Best Regards,
Apurva Kaushal
|
|
|
|
|
i am a fresher in asp.net.in my project, i hav a doubt that..how to merge two .gif images in a webform dynamically?
my project is a sattellite tracking system in which there are two basic images one is a ""logo""and the other is a ""background""map. when ever i am inserting longitude and latitude values in the database, the logo should come on the map in the exact position.i should have to put many more than one logos at the same map.that is by clicking "update" button each time the map should be updated.
put some ideas ..i tried it but some image format errors are coming.pixel format and this .gif image format..
|
|
|
|
|
Do you have to merge the images? Can't you just place one image on top of the other?
---
b { font-weight: normal; }
|
|
|
|
|
no..its not like that...i have to merge a perticular icon in a map,suppose in indias map when the administrator is inputting the corresponding geographical measures.(longitude and latitude).
first to check whether the given measures are covering which area..after checking that it identifies that area is India.then it finds the inner exact position and merge the icon image there..(For this i am using gif images of background map(image1) and icon(image2).i want to merge image2 on image 1 when ever inserting the measurement in the database...)
TRY IT>>>ITS NOT SIMPLE I THINK>>>give me idea about grids also..that can help..
|
|
|
|
|
Check the following code
In this example Image2 will be added to the Image1, you need to just change the names from Images1.gif and Image2.gif to your image name.
Let me know if you have any issues.
//Code Starts Here
// This is the Original Image that is Image1
System.Drawing.Image bgimage = System.Drawing.Image.FromFile(Server.MapPath("Image1.gif"));
Bitmap bmp = new Bitmap(1, 1);
Graphics graphic = System.Drawing.Graphics.FromImage(bmp);
// measure the image
int height = bgimage.Height;
int width = bgimage.Width;
// recreate our bmp and graphic objects with the new measurements
bmp = new Bitmap(width, height);
graphic = System.Drawing.Graphics.FromImage(bmp);
graphic.DrawImage(bgimage, 0, 0, width, height);
graphic.TextRenderingHint = TextRenderingHint.SystemDefault;
System.Drawing.Image bgimageNew = System.Drawing.Image.FromFile(Server.MapPath("Image2.jpg"));
//You can set x position, y position, width and height of the second image.
graphic.DrawImage(bgimageNew,5,5,50,15);
// Set the content type and return the image
Response.ContentType = "image/JPEG";
bmp.Save(Response.OutputStream, ImageFormat.Jpeg);
// dispose of our objects
bgimage.Dispose();
graphic.Dispose();
bmp.Dispose();
//Code Ends Here
Vicky
"Walking on water and developing Software on a specification is easy, if
both are frozen..."
|
|
|
|
|
shyamkrishnan wrote: no..its not like that...
What is it not like?
I see no reason why you have to merge the images. It's not that hard to do, but why would you if you don't have to?
---
b { font-weight: normal; }
|
|
|
|
|
Hi all i want .net code for importing the addressbook if we give mail id and password as input
could any body help me in this regard
thanking u all
Satish Palli
|
|
|
|
|
Here i had a problem with retriveing datavalue from table.
I designed a calender with help of table.Means in a table row,i have given Label,TextBox1 and an img for accessing calender from another page.
My requirement is i have to insert the date watever entered in TextBox1 into my database dateofjoining field.
But i have no idea of how to retrieve the value from that table row.
Can anyone help me .urgent
thank u
|
|
|
|
|
Hi all
How can i create .mdb file
I try this but it is not working
Dim fs As FileStream = File.Create(Server.MapPath("Test.mdb"))
fs.Close()
THX
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
I don't think you can create an mdb file with this way, clikety[^], a simple way is to copy a current empty mdb file.
|
|
|
|
|
|
Great Code....
Keep It Up!!!!;P
|
|
|
|
|
What the hell you want to ask?
Best Regards,
Apurva Kaushal
|
|
|
|
|
this is not Lounge
With Regards
Satips
|
|
|
|