Click here to Skip to main content
15,893,668 members
Home / Discussions / ASP.NET
   

ASP.NET

 
General[Message Deleted] Pin
Aslesh9-Jul-08 8:40
Aslesh9-Jul-08 8:40 
GeneralRe: How to trigger a method after some time Pin
Christian Graus9-Jul-08 8:41
protectorChristian Graus9-Jul-08 8:41 
GeneralRe: How to trigger a method after some time Pin
Aslesh9-Jul-08 8:47
Aslesh9-Jul-08 8:47 
GeneralRe: How to trigger a method after some time Pin
Christian Graus9-Jul-08 8:55
protectorChristian Graus9-Jul-08 8:55 
GeneralRe: How to trigger a method after some time Pin
Aslesh9-Jul-08 9:28
Aslesh9-Jul-08 9:28 
GeneralRe: How to trigger a method after some time Pin
Christian Graus9-Jul-08 11:43
protectorChristian Graus9-Jul-08 11:43 
GeneralRe: How to trigger a method after some time Pin
led mike9-Jul-08 10:15
led mike9-Jul-08 10:15 
Questionaccess textbox inside the gridview Pin
RuhrT9-Jul-08 7:58
RuhrT9-Jul-08 7:58 
I am new to .net programming, so please pardon any mistakes I make. On my page have gridview1 and inside the edit template of the gridview1 have texbox8. When the user clicks on the edit button the textox8 should automatically populate current machine date. I am not sure how to access the texbox8 inside the gridview and display the current date.

Following is the part of the code:

<asp:gridview id="GridView1" runat="server" allowpaging="True" xmlns:asp="#unknown">
AllowSorting="True" AutoGenerateColumns="False" CellPadding="4"
DataSourceID="SqlDataSource1" Height="369px" Width="482px"
Font-Names="Arial" Font-Size="8pt" ForeColor="#333333" GridLines="None"
PageSize="30"
<edititemtemplate>
<asp:textbox id="TextBox4" runat="server" height="15px">
Text='<%# Bind("ClosedDate", "{0}") %>' Width="60px"
ontextchanged="TextBox4_TextChanged">

<cc1:calendarextender id="TextBox4_CalendarExtender" runat="server" xmlns:cc1="#unknown">
Enabled="True" TargetControlID="TextBox4">

/GridView1>

Here is the code in my .vb file:

Protected Sub TextBox4_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs)
For Each row In GVOpenNCMR.Rows
Dim textBoxText As = (CType(row.FindControl("TextBox4"), TextBox)).Text
Next
End Sub


Not sure where to put the code for the textbox to populate system date. Anyhelp would be appreciated. Thanks.
AnswerRe: access textbox inside the gridview Pin
Christian Graus9-Jul-08 8:03
protectorChristian Graus9-Jul-08 8:03 
GeneralRe: access textbox inside the gridview Pin
RuhrT9-Jul-08 9:41
RuhrT9-Jul-08 9:41 
GeneralRe: access textbox inside the gridview Pin
Christian Graus9-Jul-08 10:22
protectorChristian Graus9-Jul-08 10:22 
GeneralRe: access textbox inside the gridview Pin
Christian Graus9-Jul-08 15:26
protectorChristian Graus9-Jul-08 15:26 
AnswerRe: access textbox inside the gridview Pin
Christian Graus9-Jul-08 8:58
protectorChristian Graus9-Jul-08 8:58 
QuestionCheckBoxList control - Which ListItem was clicked? Pin
Ekjon9-Jul-08 7:02
Ekjon9-Jul-08 7:02 
AnswerRe: CheckBoxList control - Which ListItem was clicked? Pin
Christian Graus9-Jul-08 8:01
protectorChristian Graus9-Jul-08 8:01 
GeneralRe: CheckBoxList control - Which ListItem was clicked? Pin
Ekjon9-Jul-08 8:44
Ekjon9-Jul-08 8:44 
GeneralRe: CheckBoxList control - Which ListItem was clicked? Pin
Christian Graus9-Jul-08 8:46
protectorChristian Graus9-Jul-08 8:46 
GeneralRe: CheckBoxList control - Which ListItem was clicked? Pin
Ekjon11-Jul-08 9:39
Ekjon11-Jul-08 9:39 
GeneralRe: CheckBoxList control - Which ListItem was clicked? Pin
Herman<T>.Instance10-Jul-08 3:16
Herman<T>.Instance10-Jul-08 3:16 
GeneralRe: CheckBoxList control - Which ListItem was clicked? Pin
Ekjon11-Jul-08 10:11
Ekjon11-Jul-08 10:11 
QuestionCustomValidator ClientSideFunction property isn't working with ValidationSummary control Pin
Mark J. Miller9-Jul-08 6:00
Mark J. Miller9-Jul-08 6:00 
AnswerRe: CustomValidator ClientSideFunction property isn't working with ValidationSummary control Pin
Christian Graus9-Jul-08 8:08
protectorChristian Graus9-Jul-08 8:08 
GeneralRe: CustomValidator ClientSideFunction property isn't working with ValidationSummary control Pin
Mark J. Miller9-Jul-08 8:45
Mark J. Miller9-Jul-08 8:45 
GeneralRe: CustomValidator ClientSideFunction property isn't working with ValidationSummary control Pin
Christian Graus9-Jul-08 8:56
protectorChristian Graus9-Jul-08 8:56 
Questionstatic object reference problem Pin
familyof79-Jul-08 5:52
familyof79-Jul-08 5:52 

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.