Click here to Skip to main content
15,881,938 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to Compare two dates Pin
premiseenu21-Jul-06 1:53
premiseenu21-Jul-06 1:53 
AnswerRe: How to Compare two dates Pin
premiseenu21-Jul-06 1:53
premiseenu21-Jul-06 1:53 
AnswerRe: How to Compare two dates [modified] Pin
mnaveed21-Jul-06 2:27
mnaveed21-Jul-06 2:27 
AnswerRe: How to Compare two dates Pin
VenkataRamana.Gali21-Jul-06 2:50
VenkataRamana.Gali21-Jul-06 2:50 
QuestionSelectedIndexChanged event only fired the second time Pin
spoa21-Jul-06 0:22
spoa21-Jul-06 0:22 
AnswerRe: SelectedIndexChanged event only fired the second time Pin
minhpc_bk21-Jul-06 16:59
minhpc_bk21-Jul-06 16:59 
AnswerRe: SelectedIndexChanged event only fired the second time Pin
spoa24-Jul-06 0:47
spoa24-Jul-06 0:47 
GeneralRe: SelectedIndexChanged event only fired the second time Pin
minhpc_bk24-Jul-06 6:06
minhpc_bk24-Jul-06 6:06 
I guess that you dynamically add the user control to the web page on postback after the ViewState is loaded. IMO, you can do that in a simpler way:
+ In the user control, you can simply declare two controls textbox and dropdownlist, and depending on which action is taken by the user, you can make the textbox/dropdownlist visible/invisible.
+ In the web page, if you dynamically load the web user control, you can add it in the Page_Init, and depending on which radio button is selected, you can set a public property in the web user control which in turn controls the visibility of the TextBox and dropdownlist. Even simpler, you can declare the web user control right in the web page instead of dynamically loading it.


AnswerRe: SelectedIndexChanged event only fired the second time Pin
spoa26-Jul-06 7:25
spoa26-Jul-06 7:25 
GeneralRe: SelectedIndexChanged event only fired the second time [modified] Pin
minhpc_bk26-Jul-06 19:17
minhpc_bk26-Jul-06 19:17 
AnswerRe: SelectedIndexChanged event only fired the second time Pin
spoa27-Jul-06 0:32
spoa27-Jul-06 0:32 
Questionon server no validator control is working,How? Pin
Amit Agarrwal21-Jul-06 0:02
Amit Agarrwal21-Jul-06 0:02 
AnswerRe: on server no validator control is working,How? Pin
mnaveed21-Jul-06 2:38
mnaveed21-Jul-06 2:38 
QuestionSort in gridview? Pin
blurMember20-Jul-06 23:41
blurMember20-Jul-06 23:41 
AnswerRe: Sort in gridview? Pin
Paddy Boyd21-Jul-06 0:02
Paddy Boyd21-Jul-06 0:02 
AnswerRe: Sort in gridview? Pin
mnaveed21-Jul-06 2:44
mnaveed21-Jul-06 2:44 
QuestionHow to pass data from one page to another page.. Pin
ypsyong20-Jul-06 23:35
ypsyong20-Jul-06 23:35 
AnswerRe: How to pass data from one page to another page.. Pin
_AK_20-Jul-06 23:42
_AK_20-Jul-06 23:42 
GeneralRe: How to pass data from one page to another page.. Pin
ypsyong21-Jul-06 0:00
ypsyong21-Jul-06 0:00 
GeneralRe: How to pass data from one page to another page.. Pin
_AK_21-Jul-06 0:04
_AK_21-Jul-06 0:04 
GeneralRe: How to pass data from one page to another page.. Pin
ypsyong21-Jul-06 0:16
ypsyong21-Jul-06 0:16 
GeneralRe: How to pass data from one page to another page.. Pin
_AK_21-Jul-06 0:45
_AK_21-Jul-06 0:45 
GeneralRe: How to pass data from one page to another page.. Pin
Amit Agarrwal21-Jul-06 0:20
Amit Agarrwal21-Jul-06 0:20 
GeneralRe: How to pass data from one page to another page.. Pin
_AK_21-Jul-06 0:32
_AK_21-Jul-06 0:32 
GeneralRe: How to pass data from one page to another page.. Pin
Amit Agarrwal21-Jul-06 0:40
Amit Agarrwal21-Jul-06 0:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.