TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rashid Khan
NA
159
0
themes implemantation dynamically
Dec 18 2009 9:33 AM
Hiii EveryBody.
first of all i would i like to thank all of you specially kirtan for kind support,
now again i struck in problem.
i have 2 skin file(Skinfile or SkinFile2), nd i set that code for dynamically change by user,
here is the code. on aspx page i linked my Skinfile (default)
and create 2 links
<a href="listbox.aspx" ?id="First" >IstTheme</a><br />
<a href="listbox.aspx" ?id="Second">IIndTheme</a>
and on aspx.cs page i called it,
protected void Page_PreInit(object sender, EventArgs e)
{
protected void Page_PreInit(object sender, EventArgs e)
{
if (Request.QueryString["id"] != null)
{
switch (Request.QueryString["id"].ToString())
{
case "First": Page.Theme = "SkinFile";
break;
default: Page.Theme = "SkinFile2";
break;
}
}
}
{
switch (Request.QueryString["id"].ToString())
{
case "First": Page.Theme = "SkinFile";
break;
default: Page.Theme = "SkinFile2";
break;
}
}
}
but nothing happen, id cannot passed. if (Request.QueryString["id"] != null) its always show false. please tell me where i m making mistake
Thanks you
Regards
Rashid
Reply
Answers (
1
)
how to show richtextbox cell in datagridview
IIS Configration