473,503 Members | 2,142 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

drop down control being cleared

I have on one form a situation where my dropdown fields are cleared upon
clicking on a button or upon return from a show modal window. I've tried
setting the AutoPostBack = "False" and that doesn't work. The textboxes stay
populated with the correct info. All is within a form tag.

example of button:
<asp:Button id="btnconcerncord" cssClass="textbox" CausesValidation="False"
AutoPostBack="False" tooltip="Here is the tool tip" text="?" height="20px"
font-size="10px" Runat="Server" />

And the screen flashes for a nano second, like a refresh.
This is on a Windows 2003 server, using VS2003, and IE 6.0.

I'm not seeing this on another form I'm using? And I don't see any
differences???

Help?
Nov 19 '05 #1
2 940
Check to see that the viewstate of the Page and the DropdownList are enabled
--
Kumar Reddi
http://kumarreddi.blogspot.com

"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:BE**********************************@microsof t.com...
I have on one form a situation where my dropdown fields are cleared upon
clicking on a button or upon return from a show modal window. I've tried
setting the AutoPostBack = "False" and that doesn't work. The textboxes stay populated with the correct info. All is within a form tag.

example of button:
<asp:Button id="btnconcerncord" cssClass="textbox" CausesValidation="False" AutoPostBack="False" tooltip="Here is the tool tip" text="?" height="20px"
font-size="10px" Runat="Server" />

And the screen flashes for a nano second, like a refresh.
This is on a Windows 2003 server, using VS2003, and IE 6.0.

I'm not seeing this on another form I'm using? And I don't see any
differences???

Help?

Nov 19 '05 #2
thanx! sometimes a break helps out bigtime.

"Kumar Reddi" wrote:
Check to see that the viewstate of the Page and the DropdownList are enabled
--
Kumar Reddi
http://kumarreddi.blogspot.com

"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:BE**********************************@microsof t.com...
I have on one form a situation where my dropdown fields are cleared upon
clicking on a button or upon return from a show modal window. I've tried
setting the AutoPostBack = "False" and that doesn't work. The textboxes

stay
populated with the correct info. All is within a form tag.

example of button:
<asp:Button id="btnconcerncord" cssClass="textbox"

CausesValidation="False"
AutoPostBack="False" tooltip="Here is the tool tip" text="?" height="20px"
font-size="10px" Runat="Server" />

And the screen flashes for a nano second, like a refresh.
This is on a Windows 2003 server, using VS2003, and IE 6.0.

I'm not seeing this on another form I'm using? And I don't see any
differences???

Help?


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1420
by: Jon | last post by:
I am trying to create a "front end program" to an oracle database and am using visual basic .net to create the program that will accomplish this. What i need to do and what i can't find is the code...
3
6139
by: Don Wash | last post by:
Hi There! I have a Server-side Drop-down box in ASP.NET (VB) page. What do I do to widen the Drop down box's Pull-Down list's width? I'm not talking about the Drop-down box's width but the box...
2
12595
by: Yoshitha | last post by:
hi I have 2 drop down lists in my application.1st list ontains itmes like java,jsp,swings,vb.net etc.2nd list contains percentage i.e it conatains the items like 50,60,70,80,90,100. i will...
3
1462
by: CSharpguy | last post by:
I have 3 drop downs that are populated from the databasem 4 of my web pages need to have this drop down, how can I trap the selection made in the drop down and popuate my grid on my form?
6
2230
by: John | last post by:
I have a drop down on my form and I need all the values in that drop down and pass to a stored procedure, how can I get the values of the drop down and pass them all to my stored procedure call?
1
1837
by: ReGenesis0 | last post by:
I am doing drop-down menus for a site I'm developing (not my idea, neadless to say.) I have a nice robust Javascript that handles it, and it actually WORKS, works across browsers even! How...
8
7561
by: Ed Dror | last post by:
Hi there ASP.NET 2.0 VB & SQL Express Lest take Northwind Categories Products as example I create a table that hold these two together and I create a stored procedure like select ProductID,...
5
3930
by: tsunet | last post by:
HI.. I wana display that, initially in a one drop down control there will be some values. Initially, 2nd drop down control will be disabled. if user selects 1st drop down then and then only value...
1
1983
by: jacbyrd | last post by:
I have created a user control that is a drop down list that pulls from my database. I then drop that control into a detailsview control on an insert item template. When I run the insert command,...
0
7205
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7349
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
5022
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4688
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3177
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3168
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1521
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
746
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
399
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.