Click here to Skip to main content
12,395,176 members (63,505 online)
   

ASP.NET

 
AnswerRe: Resource files show empty content Pin
Sandeep Mewara20-Jan-13 1:18
mvpSandeep Mewara20-Jan-13 1:18 
GeneralRe: Resource files show empty content Pin
Ali Al Omairi(Abu AlHassan)20-Jan-13 1:51
memberAli Al Omairi(Abu AlHassan)20-Jan-13 1:51 
GeneralRe: Resource files show empty content Pin
Sandeep Mewara20-Jan-13 3:01
mvpSandeep Mewara20-Jan-13 3:01 
QuestionViewState not working in UserControl Pin
Jassim Rahma19-Jan-13 5:29
memberJassim Rahma19-Jan-13 5:29 
Hi,

I have the following in Main.Master file:

ViewState["member_id"] = Convert.ToString(sql_reader["member_guid"]);
and in banner.ascx which is embedded in the Main.Master, I have the following:

<a href="<%# String.Format("{0}/{1}", Page.RouteData.Values["ADDRESS"], Eval("post_guid")) %>"><img src="<%# String.Format("{0}/{1}/posts/{2}/{3}.png", Application["MemberMediaDirectory"], ViewState["member_guid"], Eval("post_guid"), Eval("member_post_media_guid")) %>" alt="<%# Eval("member_post_media_title") %>" title="<%# Eval("member_post_media_title") %>" width="906px" height="360px" id="<%# Eval("member_post_media_id") %>"/></a>

but the ViewState["member_id"] is getting lost there and it's just blank! how can I fix it please?


Technology News @ www.JassimRahma.com

AnswerRe: ViewState not working in UserControl Pin
jkirkerx19-Jan-13 18:35
memberjkirkerx19-Jan-13 18:35 
AnswerRe: ViewState not working in UserControl Pin
Richard Deeming21-Jan-13 2:07
memberRichard Deeming21-Jan-13 2:07 
QuestionHow can we export data into csv format in c#.net Pin
Er Atul Sharma18-Jan-13 23:31
memberEr Atul Sharma18-Jan-13 23:31 
AnswerRe: How can we export data into csv format in c#.net Pin
Sandeep Mewara19-Jan-13 5:54
mvpSandeep Mewara19-Jan-13 5:54 
QuestionSQL Server error Pin
Pritam Sankar Roy18-Jan-13 18:31
memberPritam Sankar Roy18-Jan-13 18:31 
AnswerRe: SQL Server error Pin
Nandakishorerao18-Jan-13 21:39
memberNandakishorerao18-Jan-13 21:39 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 22 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid