Click here to Skip to main content
15,907,905 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Variable delcare in aspx.vb not shown in .aspx page Pin
Manas Bhardwaj12-Sep-08 3:59
professionalManas Bhardwaj12-Sep-08 3:59 
AnswerRe: Variable delcare in aspx.vb not shown in .aspx page Pin
The Web Developer12-Sep-08 22:12
The Web Developer12-Sep-08 22:12 
Questioncalender display in ASP [modified] Pin
amit201112-Sep-08 2:53
amit201112-Sep-08 2:53 
AnswerRe: calender display in ASP Pin
Abhijit Jana12-Sep-08 3:20
professionalAbhijit Jana12-Sep-08 3:20 
AnswerRe: calender display in ASP Pin
Manas Bhardwaj12-Sep-08 3:30
professionalManas Bhardwaj12-Sep-08 3:30 
AnswerRe: calender display in ASP Pin
UD(IA)12-Sep-08 3:39
UD(IA)12-Sep-08 3:39 
AnswerRe: calender display in ASP Pin
UD(IA)12-Sep-08 4:03
UD(IA)12-Sep-08 4:03 
QuestionSetting a skind ID to nothing Pin
Brendan Vogt12-Sep-08 2:49
Brendan Vogt12-Sep-08 2:49 
Hi,

I am trying to set a textbox's SkindID to based on if the checkbox is selected. If the checkbox is not checked then I don't want the textbox to have a SkinID set, how do I do this?? I have tried setting it to "", string.Empty and null, but it does not want to work. Please advise.

protected void Page_Init(object sender, EventArgs e)
{
if (chkImportDispensed.Checked)
{
txtImportExconApprovalNumber.SkinID = "RequiredTextBox";
}
else
{
txtImportExconApprovalNumber.SkinID = null;
}
}

Is this the proper way to set SkinIDs?

They say I must set the skind id dynamically in the Page_PreInit event handler, but when I add it the event does not even fire.

In the above event handler, even though the checkbox is clicked the checked property is always false, why?

Thanks.
Brendan
AnswerRe: Setting a skind ID to nothing Pin
Sandeep Akhare12-Sep-08 3:11
Sandeep Akhare12-Sep-08 3:11 
AnswerRe: Setting a skind ID to nothing Pin
Brendan Vogt14-Sep-08 20:27
Brendan Vogt14-Sep-08 20:27 
GeneralRe: Setting a skind ID to nothing Pin
Sandeep Akhare14-Sep-08 20:36
Sandeep Akhare14-Sep-08 20:36 
GeneralRe: Setting a skind ID to nothing Pin
Brendan Vogt14-Sep-08 20:54
Brendan Vogt14-Sep-08 20:54 
GeneralRe: Setting a skind ID to nothing Pin
Sandeep Akhare14-Sep-08 20:58
Sandeep Akhare14-Sep-08 20:58 
GeneralRe: Setting a skind ID to nothing Pin
Brendan Vogt14-Sep-08 21:14
Brendan Vogt14-Sep-08 21:14 
GeneralRe: Setting a skind ID to nothing Pin
Sandeep Akhare14-Sep-08 21:47
Sandeep Akhare14-Sep-08 21:47 
GeneralRe: Setting a skind ID to nothing Pin
Sandeep Akhare14-Sep-08 21:50
Sandeep Akhare14-Sep-08 21:50 
GeneralRe: Setting a skind ID to nothing Pin
Sandeep Akhare14-Sep-08 21:08
Sandeep Akhare14-Sep-08 21:08 
GeneralRe: Setting a skind ID to nothing Pin
Brendan Vogt14-Sep-08 21:21
Brendan Vogt14-Sep-08 21:21 
QuestionCapturing events of Exchange Server 2007 Pin
pavan_sacet12-Sep-08 1:50
pavan_sacet12-Sep-08 1:50 
AnswerRe: Capturing events of Exchange Server 2007 Pin
Abhijit Jana12-Sep-08 2:04
professionalAbhijit Jana12-Sep-08 2:04 
QuestionVirtual Directory Not Run asp.net 2.0 Pin
perumalLashmi12-Sep-08 1:08
perumalLashmi12-Sep-08 1:08 
AnswerRe: Virtual Directory Not Run asp.net 2.0 Pin
Abhijit Jana12-Sep-08 1:29
professionalAbhijit Jana12-Sep-08 1:29 
Questionimage split and merge in asp.net 2.0 C# Pin
perumalLashmi12-Sep-08 1:05
perumalLashmi12-Sep-08 1:05 
AnswerRe: image split and merge in asp.net 2.0 C# Pin
Sandeep Akhare12-Sep-08 2:21
Sandeep Akhare12-Sep-08 2:21 
AnswerRe: image split and merge in asp.net 2.0 C# Pin
Guffa12-Sep-08 7:13
Guffa12-Sep-08 7:13 

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.