Click here to Skip to main content
15,894,362 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionalert message box in update panel Pin
ships_agr19-Apr-10 7:43
ships_agr19-Apr-10 7:43 
AnswerRe: alert message box in update panel Pin
Brij19-Apr-10 8:07
mentorBrij19-Apr-10 8:07 
GeneralRe: alert message box in update panel Pin
ships_agr20-Apr-10 5:28
ships_agr20-Apr-10 5:28 
QuestionServer Error in '/' Application. Pin
Abdul-Rhman Alsri19-Apr-10 7:18
Abdul-Rhman Alsri19-Apr-10 7:18 
AnswerRe: Server Error in '/' Application. Pin
Abhijit Jana19-Apr-10 11:03
professionalAbhijit Jana19-Apr-10 11:03 
QuestionAn Issue with Databind() for a GridView Pin
PDTUM19-Apr-10 6:09
PDTUM19-Apr-10 6:09 
AnswerRe: An Issue with Databind() for a GridView Pin
PDTUM19-Apr-10 8:00
PDTUM19-Apr-10 8:00 
QuestionAssign themes programmatically - Master Pages Pin
Karan_TN19-Apr-10 4:04
Karan_TN19-Apr-10 4:04 
Hi.
currently i m using asp.net 2005 (2.0 framework).
i have created 3 themes and i let the user to change the theme (using dropdownbox). below code i have used.

const string _themeListIDKey = "_themeListIDKey";
    protected void Page_PreInit(object sender, EventArgs e)
    {
        if (IsPostBack)
        {
            string uniqueID = Request[_themeListIDKey];

            if (uniqueID != null && Request[uniqueID] != null)
            {
                Theme = Request[uniqueID];
                Session["SelectedTheme"] = Theme;
            }
        }
    }


protected void Page_Load(object sender, EventArgs e)
    {
        ClientScript.RegisterHiddenField(_themeListIDKey, ((DropDownList)(this.Master.FindControl("DropDownList1"))).UniqueID);
    }


but when i create a skin for gridview onload its not working. when i change another theme and again i come to the current there through dropdown, then only its applying. help me plz.... - Karan
AnswerRe: Assign themes programmatically - Master Pages Pin
daveyerwin19-Apr-10 5:01
daveyerwin19-Apr-10 5:01 
GeneralRe: Assign themes programmatically - Master Pages Pin
Karan_TN19-Apr-10 16:50
Karan_TN19-Apr-10 16:50 
GeneralRe: Assign themes programmatically - Master Pages Pin
daveyerwin20-Apr-10 5:11
daveyerwin20-Apr-10 5:11 
AnswerRe: Assign themes programmatically - Master Pages Pin
Abhijit Jana19-Apr-10 6:34
professionalAbhijit Jana19-Apr-10 6:34 
GeneralRe: Assign themes programmatically - Master Pages Pin
Karan_TN19-Apr-10 16:51
Karan_TN19-Apr-10 16:51 
GeneralRe: Assign themes programmatically - Master Pages Pin
Abhijit Jana19-Apr-10 20:41
professionalAbhijit Jana19-Apr-10 20:41 
AnswerRe: Assign themes programmatically - Master Pages Pin
Tej Aj19-Apr-10 21:41
Tej Aj19-Apr-10 21:41 
AnswerRe: Assign themes programmatically - Master Pages Pin
Tej Aj20-Apr-10 0:43
Tej Aj20-Apr-10 0:43 
Question"view in browser" shortcut Pin
Yustme19-Apr-10 3:23
Yustme19-Apr-10 3:23 
AnswerRe: "view in browser" shortcut Pin
Abhijit Jana19-Apr-10 6:37
professionalAbhijit Jana19-Apr-10 6:37 
QuestionHow to Dynamically add meta keywords? Pin
123chaminda19-Apr-10 1:35
123chaminda19-Apr-10 1:35 
AnswerRe: How to Dynamically add meta keywords? Pin
Abhijit Jana19-Apr-10 1:41
professionalAbhijit Jana19-Apr-10 1:41 
GeneralRe: How to Dynamically add meta keywords? Pin
123chaminda19-Apr-10 9:30
123chaminda19-Apr-10 9:30 
Questionsolution n-tiers Pin
tek 200919-Apr-10 1:25
tek 200919-Apr-10 1:25 
AnswerRe: solution n-tiers Pin
Not Active19-Apr-10 2:48
mentorNot Active19-Apr-10 2:48 
AnswerRe: solution n-tiers Pin
Vimalsoft(Pty) Ltd19-Apr-10 3:39
professionalVimalsoft(Pty) Ltd19-Apr-10 3:39 
GeneralRe: solution n-tiers Pin
tek 200919-Apr-10 4:50
tek 200919-Apr-10 4:50 

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.