Click here to Skip to main content
15,920,217 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Checkbox in datagrid Pin
nagendrathecoder13-Apr-10 22:20
nagendrathecoder13-Apr-10 22:20 
GeneralRe: Checkbox in datagrid Pin
nagendrathecoder13-Apr-10 22:27
nagendrathecoder13-Apr-10 22:27 
GeneralRe: Checkbox in datagrid Pin
Morgs Morgan13-Apr-10 23:42
Morgs Morgan13-Apr-10 23:42 
GeneralRe: Checkbox in datagrid Pin
nagendrathecoder14-Apr-10 0:00
nagendrathecoder14-Apr-10 0:00 
GeneralRe: Checkbox in datagrid Pin
Morgs Morgan14-Apr-10 0:25
Morgs Morgan14-Apr-10 0:25 
GeneralRe: Checkbox in datagrid Pin
nagendrathecoder14-Apr-10 0:33
nagendrathecoder14-Apr-10 0:33 
GeneralRe: Checkbox in datagrid Pin
Morgs Morgan14-Apr-10 1:20
Morgs Morgan14-Apr-10 1:20 
GeneralRe: Checkbox in datagrid Pin
nagendrathecoder14-Apr-10 2:02
nagendrathecoder14-Apr-10 2:02 
GeneralRe: Checkbox in datagrid Pin
Morgs Morgan14-Apr-10 2:30
Morgs Morgan14-Apr-10 2:30 
GeneralRe: Checkbox in datagrid Pin
nagendrathecoder14-Apr-10 2:42
nagendrathecoder14-Apr-10 2:42 
QuestionResponse.Write in aspx file Pin
Abdul Rahman Hamidy13-Apr-10 18:17
Abdul Rahman Hamidy13-Apr-10 18:17 
AnswerRe: Response.Write in aspx file Pin
Viral Upadhyay13-Apr-10 19:26
Viral Upadhyay13-Apr-10 19:26 
AnswerRe: Response.Write in aspx file Pin
Martin Jarvis13-Apr-10 20:38
Martin Jarvis13-Apr-10 20:38 
GeneralRe: Response.Write in aspx file Pin
Abdul Rahman Hamidy16-Apr-10 18:37
Abdul Rahman Hamidy16-Apr-10 18:37 
QuestionError WebForm_InitCallback and WebForm_DoCallback is not defined Pin
Tridip Bhattacharjee13-Apr-10 8:21
professionalTridip Bhattacharjee13-Apr-10 8:21 
AnswerRe: Error WebForm_InitCallback and WebForm_DoCallback is not defined Pin
daveyerwin13-Apr-10 9:44
daveyerwin13-Apr-10 9:44 
AnswerRe: Error WebForm_InitCallback and WebForm_DoCallback is not defined Pin
T M Gray13-Apr-10 10:21
T M Gray13-Apr-10 10:21 
GeneralRe: Error WebForm_InitCallback and WebForm_DoCallback is not defined Pin
Tridip Bhattacharjee13-Apr-10 19:52
professionalTridip Bhattacharjee13-Apr-10 19:52 
QuestionApplying theme to User Control. Pin
paper6713-Apr-10 3:43
paper6713-Apr-10 3:43 
I have a User Control that has a custom property, which I want to set by a theme.
The custom property is used in javascript that is injected into the page by a
Page.ClientScript.RegisterStartupScript method in Page_Load.
Basically I do the following :

- Placed a [Themeable(true)] attribute above my user control class.
- I register my user control in web.config.

<pages styleSheetTheme="Sunset">
  <controls>
     <add tagPrefix="UC" src="~/UserControls/MyUserControl.ascx" tagName="MyUserControl"/>
  </controls>
</pages>


- Placed a skin file under Sunset directory in App_Themes with content :

<UC:MyUserControl runat="server" CustomColor="#FF0000" />



At runtime everything works fine, but in the designer I keep getting the error :

Error Rendering Control
An unhandled exception has occured.
There was an error parsing the theme: The control type "System.Web.UI.UserControl" cannot be themed.

What am I missing here ?

tia
AnswerRe: Applying theme to User Control. Pin
buaaytt15-Jul-10 23:11
buaaytt15-Jul-10 23:11 
Questionclickable gridview Pin
tek 200913-Apr-10 1:50
tek 200913-Apr-10 1:50 
AnswerRe: clickable gridview Pin
Sneha Bisht13-Apr-10 2:10
Sneha Bisht13-Apr-10 2:10 
GeneralRe: clickable gridview Pin
tek 200913-Apr-10 4:24
tek 200913-Apr-10 4:24 
GeneralRe: clickable gridview Pin
tek 200913-Apr-10 5:04
tek 200913-Apr-10 5:04 
AnswerRe: clickable gridview Pin
Abhijit Jana13-Apr-10 6:18
professionalAbhijit Jana13-Apr-10 6:18 

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.