|
Actually man viewstate concept is ok why I asked is because you have given it like this:
Nagraj Naik wrote: txtpass.text=viewstate("password")
Thats why I told that for a textbox of textmode password you have to assign using attributes.add .
Best Regards,
Apurva Kaushal
|
|
|
|
|
First Thank you for ur reply
When i Put the code you gave me.. I t won't fetch the password after selecting the dropdownlist and it shows the password field as empty..
Please... Try to help me more
|
|
|
|
|
Try it like this.[^]
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi,
I just tested this code.
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
ViewState("pass") = txtPassword.Text
txtPassword.Attributes.Clear()
End Sub
Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged
If Not (ViewState("pass") = "") Then
txtPassword.Attributes.Clear()
txtPassword.Attributes.Add("value", CType(ViewState("pass"), String))
End If
End Sub
Let me know is it working.
Regards,
Nagraj
|
|
|
|
|
Thanks A lot Nagraj For UR kind and timely help to me..
Its really wroking fine..
|
|
|
|
|
Password fields do not retain info through postbacks.
|
|
|
|
|
hi all,
i am facing problem in Creating Session in External class problem as follows, here i am getting loin name in codebehind class i am passing this value to property for Ex:LoginName this value i have to store in session in side External class called login and i have to verify session value exist or not in method called verify how to dothis help me please............
P.gurukiran
|
|
|
|
|
You didn't write what is the problem. To store value into session call Session["SessionKey"] = myValue, but I'm sure you know this... So what is wrong?
Pilo
|
|
|
|
|
|
hi,
I am creating a rss feed for a blog site. I am able to create the rss(XML file).
I would want to implement paging in the xml file created. say i would like to display only 5 items per page in the rss feed(XML file) instead of the entire 15 items.
How can it be done in ?
Any suggestions plz.
Thanks and regards
Anu
I am using Outlook express to read all the mails in the inbox.How can i know the connecting url of my outlook express.
Thanks in advance.
Regards
Anuradha
|
|
|
|
|
RSS feed is just a XML file. You can't implement paging there directly.
You can implement paging in your viewer.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
hi,
Thanks for your response.
How to implement paging in the viewer?Can u help me out plz.
Thanks and regards
Anu
I am using Outlook express to read all the mails in the inbox.How can i know the connecting url of my outlook express.
Thanks in advance.
Regards
Anuradha
|
|
|
|
|
Search google. There are many many tutorials available on the subject. Or think a little and try to figure it out yourself.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Hi,
i want to create Date Time Picker for web application.Please help me..
It is already there for a Windows Application.
Thanks in advance,
Libran
|
|
|
|
|
do u want to create one or use one?
cause there r many date/time pickers ready for use so y to reinvent the wheel?
Best Regards
3ala2
|
|
|
|
|
i want to create for my application. please help me.
|
|
|
|
|
|
Thanks for reply but Sorry, it doen't give me required help.
|
|
|
|
|
|
Sorry, it doen't give me required help.
|
|
|
|
|
Geez mate, download any opensource date picker available on net (there are thousands of them and check how does it work. Or what do you expect from us? To paste hundred lines of code here for you? Why, if it was written many times by many people and is available, just search google!
Or what other help are you expecting from us?
Pilo
|
|
|
|
|
I am trying to bind the checked status of items in a checked list box using object data source. but this does not seem to be straight forward.
Most of the methods that i found on the net either created a new control or used the same way that was used in asp.net 1.1 am i missing somthing.
Thanks and Regards
Rahul
|
|
|
|
|
Does that mean you're using .NET 2.0?
I know for a Checkbox List that I just traverse the list and compare the key value to the text value in my datasource to determine if it should be checked or not, but that is in .NET 1.1.
Cleako
|
|
|
|
|
I have been using object data source in asp.net 2.0 for a couple of months now and this way of binding data for simple applications is reaaly cool but as things get a little comlicated like
1.Binding a form view to a Grid view's selection with composit primary keys 2.Binding to a checked list box where checked status is data driven
people start pointing that it is similar to .net 1.1.
Could some one pls point me to How to use the Object data source for binding data in the above scenarios.
Thanks & Regards
Rahul
|
|
|
|
|
How to insert a check box into a treeview
priyanka
|
|
|
|