Click here to Skip to main content
15,915,319 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: sending Email in C# Pin
kvsreedhar26-Aug-08 23:57
kvsreedhar26-Aug-08 23:57 
QuestionReload Main Page [modified] Pin
omlac26-Aug-08 22:45
omlac26-Aug-08 22:45 
AnswerRe: Reload Main Page Pin
N a v a n e e t h26-Aug-08 23:34
N a v a n e e t h26-Aug-08 23:34 
GeneralRe: Reload Main Page Pin
omlac26-Aug-08 23:47
omlac26-Aug-08 23:47 
Questionmulti-lingual site Pin
kadkir26-Aug-08 22:22
kadkir26-Aug-08 22:22 
AnswerRe: multi-lingual site Pin
Manas Bhardwaj26-Aug-08 22:29
professionalManas Bhardwaj26-Aug-08 22:29 
QuestionLong Running Processes & IIS Pin
moon_stick26-Aug-08 22:13
moon_stick26-Aug-08 22:13 
QuestionNot able to read the dynamic controls Pin
rajasreepradeep26-Aug-08 21:53
rajasreepradeep26-Aug-08 21:53 
Hi,

I have created some dynamic controls in page load and added to an existing asp:Table

Its displaying in the page ( the page contains 3 tabs , this controls are added in one of the tab)

If I click on another tab , I am trying to save the data in this dynamic controls .

But not able to access it.

Code

This panel is a part of one table.

<asp:Panel ID="pStudySpecific" runat="server" EnableViewState="true" >
<%--<table width="100%" > --%>
<tr>
<td>
<asp:Table width="100%" border="1" runat="server" id="tblTimeZone" enableviewstate="true" >
<asp:TableRow>
<asp:TableCell>
<asp:Table ID="tblTimeZones" runat="server" border="0" EnableViewState="true" >
<asp:TableHeaderRow HorizontalAlign="Left">
<asp:TableHeaderCell HorizontalAlign="Left">
<asp:Label runat="server" ID="lblTimeZoneDetails" Text="TimeZone" SkinID="GroupTitleSkin"></asp:Label>
</asp:TableHeaderCell>
</asp:TableHeaderRow>
</asp:Table>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</td>
</tr>
</panel>

1. page load create controls and added to tblTimeZones.


2.Tab( link button click event)

I tried to access control
ContentPlaceHolder cphDetails = (ContentPlaceHolder)this.Master.FindControl("cphDetails");
Table tblTimeZon = (Table)cphDetails.FindControl("tblTimeZones");
till here its fine ,I am getting the values.
DropDownList drpLstControl = (DropDownList)tblTimeZon.FindControl("drpLst" + objCustomField.DatabaseField);

In the above line its giving null value.


This all controls are in an update panel and content place holder.

Please help.
AnswerRe: Not able to read the dynamic controls Pin
Gayani Devapriya26-Aug-08 22:41
Gayani Devapriya26-Aug-08 22:41 
GeneralRe: Not able to read the dynamic controls Pin
rajasreepradeep26-Aug-08 23:39
rajasreepradeep26-Aug-08 23:39 
Questionajax toolkit Pin
arkiboys26-Aug-08 21:39
arkiboys26-Aug-08 21:39 
AnswerRe: ajax toolkit Pin
eyeseetee26-Aug-08 22:01
eyeseetee26-Aug-08 22:01 
QuestionIrrespective of the file type(Audio or video) it shud play when user cliks on filename Pin
reogeo200826-Aug-08 21:35
reogeo200826-Aug-08 21:35 
QuestionChange Web Application folder Pin
peter_790126-Aug-08 20:45
peter_790126-Aug-08 20:45 
AnswerRe: Change Web Application folder Pin
eyeseetee26-Aug-08 21:51
eyeseetee26-Aug-08 21:51 
GeneralRe: Change Web Application folder Pin
peter_790127-Aug-08 13:16
peter_790127-Aug-08 13:16 
Questionhow to restrict image folder from direct access Pin
Neeraj Arora26-Aug-08 20:34
Neeraj Arora26-Aug-08 20:34 
AnswerRe: how to restrict image folder from direct access Pin
Abhishek Sur26-Aug-08 21:00
professionalAbhishek Sur26-Aug-08 21:00 
GeneralRe: how to restrict image folder from direct access Pin
Neeraj Arora26-Aug-08 21:10
Neeraj Arora26-Aug-08 21:10 
AnswerRe: how to restrict image folder from direct access Pin
N a v a n e e t h26-Aug-08 21:05
N a v a n e e t h26-Aug-08 21:05 
GeneralRe: how to restrict image folder from direct access Pin
Neeraj Arora26-Aug-08 21:08
Neeraj Arora26-Aug-08 21:08 
GeneralRe: how to restrict image folder from direct access Pin
N a v a n e e t h26-Aug-08 23:30
N a v a n e e t h26-Aug-08 23:30 
GeneralRe: how to restrict image folder from direct access Pin
Neeraj Arora27-Aug-08 1:02
Neeraj Arora27-Aug-08 1:02 
AnswerRe: how to restrict image folder from direct access Pin
NeverHeardOfMe26-Aug-08 22:46
NeverHeardOfMe26-Aug-08 22:46 
QuestionSuggestion for continous printing Pin
Jagwinder Walia26-Aug-08 20:29
Jagwinder Walia26-Aug-08 20:29 

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.