Click here to Skip to main content
15,896,348 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralDynamically generated repeaters and the 'AddAt' method Pin
Hendrik Debedts27-Feb-08 21:30
Hendrik Debedts27-Feb-08 21:30 
GeneralWeb Custom Controls - Problem Pin
Darthmoose27-Feb-08 20:45
Darthmoose27-Feb-08 20:45 
GeneralRe: Web Custom Controls - Problem Pin
Christian Graus27-Feb-08 21:10
protectorChristian Graus27-Feb-08 21:10 
GeneralRe: Web Custom Controls - Problem Pin
Darthmoose27-Feb-08 21:44
Darthmoose27-Feb-08 21:44 
GeneralRe: Web Custom Controls - Problem Pin
Christian Graus27-Feb-08 21:52
protectorChristian Graus27-Feb-08 21:52 
GeneralRe: Web Custom Controls - Problem Pin
Darthmoose27-Feb-08 21:59
Darthmoose27-Feb-08 21:59 
GeneralRe: Web Custom Controls - Problem Pin
Christian Graus27-Feb-08 22:23
protectorChristian Graus27-Feb-08 22:23 
GeneralReading from web.config Pin
samerh27-Feb-08 20:43
samerh27-Feb-08 20:43 
Hi all,
In the master page i need to read a value from the web.config file (key="PathLogout"). To read PathLogout i have placed a hiiden label <asp:Label ID="Label1" runat="server" style="display:none" Text="<%$ AppSettings:FreeAndClose %>"></asp:Label>
Inisde a javscript function i am reading it as follows:
var myVar = document.getElementById('<%= Label1.ClientID %>').innerHTML;
alert(myVar);

an error is generated "The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)."
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Any ideas why and how can i solve it.
GeneralRe: Reading from web.config Pin
Christian Graus27-Feb-08 21:09
protectorChristian Graus27-Feb-08 21:09 
GeneralRe: Reading from web.config Pin
samerh27-Feb-08 21:16
samerh27-Feb-08 21:16 
GeneralRe: Reading from web.config Pin
Christian Graus27-Feb-08 21:24
protectorChristian Graus27-Feb-08 21:24 
GeneralRe: Reading from web.config Pin
samerh27-Feb-08 21:35
samerh27-Feb-08 21:35 
GeneralRe: Reading from web.config Pin
Christian Graus27-Feb-08 21:54
protectorChristian Graus27-Feb-08 21:54 
GeneralEnglish Dictionary in asp.net (urgent!) Pin
Milind Panchal27-Feb-08 20:27
Milind Panchal27-Feb-08 20:27 
GeneralRe: English Dictionary in asp.net (urgent!) Pin
Christian Graus27-Feb-08 20:30
protectorChristian Graus27-Feb-08 20:30 
GeneralRe: English Dictionary in asp.net (urgent!) Pin
Vasudevan Deepak Kumar29-Feb-08 19:27
Vasudevan Deepak Kumar29-Feb-08 19:27 
GeneralValue from ASP.NET AJAX ModalPopUpExtender Pin
Syed Ali Raza27-Feb-08 20:15
Syed Ali Raza27-Feb-08 20:15 
GeneralRe: Value from ASP.NET AJAX ModalPopUpExtender Pin
Laddie28-Feb-08 19:48
Laddie28-Feb-08 19:48 
GeneralRe: Value from ASP.NET AJAX ModalPopUpExtender Pin
Vinay Dornala26-May-08 4:28
Vinay Dornala26-May-08 4:28 
Generalabout .net Pin
Ramalakshmi.I27-Feb-08 20:14
Ramalakshmi.I27-Feb-08 20:14 
GeneralRe: about .net Pin
Expert Coming27-Feb-08 20:16
Expert Coming27-Feb-08 20:16 
GeneralRe: about .net Pin
Christian Graus27-Feb-08 20:21
protectorChristian Graus27-Feb-08 20:21 
QuestionResource FIle and Web cofing file Pin
Sasmi_Office27-Feb-08 20:07
Sasmi_Office27-Feb-08 20:07 
GeneralRe: Resource FIle and Web cofing file Pin
Expert Coming27-Feb-08 20:15
Expert Coming27-Feb-08 20:15 
QuestionWhat is the diff between ajax and callback method ? Pin
md_azy27-Feb-08 19:51
md_azy27-Feb-08 19:51 

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.