Click here to Skip to main content
15,798,151 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to Compare two dates Pin
premiseenu21-Jul-06 2:53
premiseenu21-Jul-06 2:53 
AnswerRe: How to Compare two dates Pin
premiseenu21-Jul-06 2:53
premiseenu21-Jul-06 2:53 
AnswerRe: How to Compare two dates [modified] Pin
mnaveed21-Jul-06 3:27
mnaveed21-Jul-06 3:27 
AnswerRe: How to Compare two dates Pin
VenkataRamana.Gali21-Jul-06 3:50
VenkataRamana.Gali21-Jul-06 3:50 
QuestionSelectedIndexChanged event only fired the second time Pin
spoa21-Jul-06 1:22
spoa21-Jul-06 1:22 
AnswerRe: SelectedIndexChanged event only fired the second time Pin
minhpc_bk21-Jul-06 17:59
minhpc_bk21-Jul-06 17:59 
AnswerRe: SelectedIndexChanged event only fired the second time Pin
spoa24-Jul-06 1:47
spoa24-Jul-06 1:47 
GeneralRe: SelectedIndexChanged event only fired the second time Pin
minhpc_bk24-Jul-06 7:06
minhpc_bk24-Jul-06 7: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 8:25
spoa26-Jul-06 8:25 
GeneralRe: SelectedIndexChanged event only fired the second time [modified] Pin
minhpc_bk26-Jul-06 20:17
minhpc_bk26-Jul-06 20:17 
AnswerRe: SelectedIndexChanged event only fired the second time Pin
spoa27-Jul-06 1:32
spoa27-Jul-06 1:32 
Questionon server no validator control is working,How? Pin
Amit Agarrwal21-Jul-06 1:02
Amit Agarrwal21-Jul-06 1:02 
AnswerRe: on server no validator control is working,How? Pin
mnaveed21-Jul-06 3:38
mnaveed21-Jul-06 3:38 
QuestionSort in gridview? Pin
blurMember21-Jul-06 0:41
blurMember21-Jul-06 0:41 
AnswerRe: Sort in gridview? Pin
Paddy Boyd21-Jul-06 1:02
Paddy Boyd21-Jul-06 1:02 
AnswerRe: Sort in gridview? Pin
mnaveed21-Jul-06 3:44
mnaveed21-Jul-06 3:44 
QuestionHow to pass data from one page to another page.. Pin
ypsyong21-Jul-06 0:35
ypsyong21-Jul-06 0:35 
AnswerRe: How to pass data from one page to another page.. Pin
_AK_21-Jul-06 0:42
_AK_21-Jul-06 0:42 
GeneralRe: How to pass data from one page to another page.. Pin
ypsyong21-Jul-06 1:00
ypsyong21-Jul-06 1:00 
GeneralRe: How to pass data from one page to another page.. Pin
_AK_21-Jul-06 1:04
_AK_21-Jul-06 1:04 
GeneralRe: How to pass data from one page to another page.. Pin
ypsyong21-Jul-06 1:16
ypsyong21-Jul-06 1:16 
GeneralRe: How to pass data from one page to another page.. Pin
_AK_21-Jul-06 1:45
_AK_21-Jul-06 1:45 
GeneralRe: How to pass data from one page to another page.. Pin
Amit Agarrwal21-Jul-06 1:20
Amit Agarrwal21-Jul-06 1:20 
GeneralRe: How to pass data from one page to another page.. Pin
_AK_21-Jul-06 1:32
_AK_21-Jul-06 1:32 
GeneralRe: How to pass data from one page to another page.. Pin
Amit Agarrwal21-Jul-06 1:40
Amit Agarrwal21-Jul-06 1: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.