473,324 Members | 2,166 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Question about postback

SK
Hello,

I have a datagrid, textbox and a button in my page. The
datagtrid
has sorting enabled. But, I am not doing any sorting. Its
just for
test purpose. Now the user enteres some text in the
textbox and
presses the button and it response.writes the value of it.
Now when I
do a sort then the OnItemCreated Method is called, which
again calls
the test function, but it doesnt print the data from the
textbox. It
behaves like the textbox is empy, but it isnt. I can see
the value in
the textbox. I dont understand that all. Can somebody help
out?

Here is the code:

Private Sub Page_Load(ByVal sender As System.Object, ByVal
e As
System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
Dim arList As New ArrayList
arList.Add("1")
arList.Add("2")
arList.Add("3")

DataGrid1.DataSource = arList
DataGrid1.DataBind()
End If
End Sub

Private Sub Button1_Click(ByVal sender As
System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
Response.Write(TextBox1.Text)
End Sub

Public Function test()
Response.Write("testme" & TextBox1.Text)
End Function

Private Sub DataGrid1_OnItemCreated(ByVal sender As
Object, ByVal
e As System.Web.UI.WebControls.DataGridItemEventArgs)
Handles
DataGrid1.ItemCreated
Select Case e.Item.ItemType
Case ListItemType.Header
test()
End Select
End Sub

Sub Sort(ByVal sender As Object, ByVal e As
DataGridSortCommandEventArgs)

End Sub

Thanks
Nov 19 '05 #1
6 1149
Hi,

I'm not able to reproduce your problem. The following code outputs the
contents of the textbox in the response.write.

Ken
Microsoft MVP [ASP.NET]
<form id="Form1" method="post" runat="server">
<asp:datagrid id="DataGrid1" runat="server"></asp:datagrid>
<p>&nbsp;</p>
<p>
<asp:textbox id="TextBox1" runat="server"></asp:textbox></p>
<p>
<asp:button id="Button1" runat="server"
Text="Button"></asp:button></p>
</form>

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
Dim arList As New ArrayList
arList.Add("1")
arList.Add("2")
arList.Add("3")

DataGrid1.DataSource = arList
DataGrid1.DataBind()
End If
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Response.Write(TextBox1.Text)
End Sub

Public Function test()
Response.Write("testme" & TextBox1.Text)
End Function

Private Sub DataGrid1_OnItemCreated(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.DataGridItemEventArgs) Handles
DataGrid1.ItemCreated
Select Case e.Item.ItemType
Case ListItemType.Header
test()
End Select
End Sub

Sub Sort(ByVal sender As Object, ByVal e As
DataGridSortCommandEventArgs)

End Sub

"SK" <an*******@discussions.microsoft.com> wrote in message
news:1d****************************@phx.gbl...
Hello,

I have a datagrid, textbox and a button in my page. The
datagtrid
has sorting enabled. But, I am not doing any sorting. Its
just for
test purpose. Now the user enteres some text in the
textbox and
presses the button and it response.writes the value of it.
Now when I
do a sort then the OnItemCreated Method is called, which
again calls
the test function, but it doesnt print the data from the
textbox. It
behaves like the textbox is empy, but it isnt. I can see
the value in
the textbox. I dont understand that all. Can somebody help
out?

Here is the code:

Private Sub Page_Load(ByVal sender As System.Object, ByVal
e As
System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
Dim arList As New ArrayList
arList.Add("1")
arList.Add("2")
arList.Add("3")

DataGrid1.DataSource = arList
DataGrid1.DataBind()
End If
End Sub

Private Sub Button1_Click(ByVal sender As
System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
Response.Write(TextBox1.Text)
End Sub

Public Function test()
Response.Write("testme" & TextBox1.Text)
End Function

Private Sub DataGrid1_OnItemCreated(ByVal sender As
Object, ByVal
e As System.Web.UI.WebControls.DataGridItemEventArgs)
Handles
DataGrid1.ItemCreated
Select Case e.Item.ItemType
Case ListItemType.Header
test()
End Select
End Sub

Sub Sort(ByVal sender As Object, ByVal e As
DataGridSortCommandEventArgs)

End Sub

Thanks


Nov 19 '05 #2
SK
Hi Ken,

does it work for you even if you click the header in
the datagrid ?

THanks

-----Original Message-----
Hi,

I'm not able to reproduce your problem. The following code outputs thecontents of the textbox in the response.write.

Ken
Microsoft MVP [ASP.NET]
<form id="Form1" method="post" runat="server">
<asp:datagrid id="DataGrid1" runat="server"></asp:datagrid> <p> </p>
<p>
<asp:textbox id="TextBox1" runat="server"></asp:textbox></p> <p>
<asp:button id="Button1" runat="server"
Text="Button"></asp:button></p>
</form>

Private Sub Page_Load(ByVal sender As System.Object, ByVal e AsSystem.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
Dim arList As New ArrayList
arList.Add("1")
arList.Add("2")
arList.Add("3")

DataGrid1.DataSource = arList
DataGrid1.DataBind()
End If
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e AsSystem.EventArgs) Handles Button1.Click
Response.Write(TextBox1.Text)
End Sub

Public Function test()
Response.Write("testme" & TextBox1.Text)
End Function

Private Sub DataGrid1_OnItemCreated(ByVal sender As Object, ByVal e AsSystem.Web.UI.WebControls.DataGridItemEventArgs ) Handles
DataGrid1.ItemCreated
Select Case e.Item.ItemType
Case ListItemType.Header
test()
End Select
End Sub

Sub Sort(ByVal sender As Object, ByVal e As
DataGridSortCommandEventArgs)

End Sub

"SK" <an*******@discussions.microsoft.com> wrote in messagenews:1d****************************@phx.gbl...
Hello,

I have a datagrid, textbox and a button in my page. The
datagtrid
has sorting enabled. But, I am not doing any sorting. Its just for
test purpose. Now the user enteres some text in the
textbox and
presses the button and it response.writes the value of it. Now when I
do a sort then the OnItemCreated Method is called, which
again calls
the test function, but it doesnt print the data from the
textbox. It
behaves like the textbox is empy, but it isnt. I can see
the value in
the textbox. I dont understand that all. Can somebody help out?

Here is the code:

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
Dim arList As New ArrayList
arList.Add("1")
arList.Add("2")
arList.Add("3")

DataGrid1.DataSource = arList
DataGrid1.DataBind()
End If
End Sub

Private Sub Button1_Click(ByVal sender As
System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
Response.Write(TextBox1.Text)
End Sub

Public Function test()
Response.Write("testme" & TextBox1.Text)
End Function

Private Sub DataGrid1_OnItemCreated(ByVal sender As
Object, ByVal
e As System.Web.UI.WebControls.DataGridItemEventArgs)
Handles
DataGrid1.ItemCreated
Select Case e.Item.ItemType
Case ListItemType.Header
test()
End Select
End Sub

Sub Sort(ByVal sender As Object, ByVal e As
DataGridSortCommandEventArgs)

End Sub

Thanks


.

Nov 19 '05 #3
Yes, if you add a handler:

Sub Sort(ByVal sender As Object, _
ByVal e As DataGridSortCommandEventArgs)
Response.Write("Sort:" & TextBox1.Text)
End Sub

<form id="Form1" method="post" runat="server">
<asp:datagrid id="DataGrid1" runat="server"
allowsorting="True"></asp:datagrid>
<p>&nbsp;</p>
<p>
<asp:textbox id="TextBox1" runat="server"></asp:textbox></p>
<p>
<asp:button id="Button1" runat="server"
Text="Button"></asp:button></p>
</form>
"SK" <an*******@discussions.microsoft.com> wrote in message
news:09****************************@phx.gbl...
Hi Ken,

does it work for you even if you click the header in
the datagrid ?

THanks

-----Original Message-----
Hi,

I'm not able to reproduce your problem. The following

code outputs the
contents of the textbox in the response.write.

Ken
Microsoft MVP [ASP.NET]
<form id="Form1" method="post" runat="server">
<asp:datagrid id="DataGrid1"

runat="server"></asp:datagrid>
<p> </p>
<p>
<asp:textbox id="TextBox1"

runat="server"></asp:textbox></p>
<p>
<asp:button id="Button1" runat="server"
Text="Button"></asp:button></p>
</form>

Private Sub Page_Load(ByVal sender As System.Object,

ByVal e As
System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
Dim arList As New ArrayList
arList.Add("1")
arList.Add("2")
arList.Add("3")

DataGrid1.DataSource = arList
DataGrid1.DataBind()
End If
End Sub

Private Sub Button1_Click(ByVal sender As

System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Response.Write(TextBox1.Text)
End Sub

Public Function test()
Response.Write("testme" & TextBox1.Text)
End Function

Private Sub DataGrid1_OnItemCreated(ByVal sender As

Object, ByVal e As
System.Web.UI.WebControls.DataGridItemEventArg s) Handles
DataGrid1.ItemCreated
Select Case e.Item.ItemType
Case ListItemType.Header
test()
End Select
End Sub

Sub Sort(ByVal sender As Object, ByVal e As
DataGridSortCommandEventArgs)

End Sub

"SK" <an*******@discussions.microsoft.com> wrote in

message
news:1d****************************@phx.gbl...
Hello,

I have a datagrid, textbox and a button in my page. The
datagtrid
has sorting enabled. But, I am not doing any sorting. Its just for
test purpose. Now the user enteres some text in the
textbox and
presses the button and it response.writes the value of it. Now when I
do a sort then the OnItemCreated Method is called, which
again calls
the test function, but it doesnt print the data from the
textbox. It
behaves like the textbox is empy, but it isnt. I can see
the value in
the textbox. I dont understand that all. Can somebody help out?

Here is the code:

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
Dim arList As New ArrayList
arList.Add("1")
arList.Add("2")
arList.Add("3")

DataGrid1.DataSource = arList
DataGrid1.DataBind()
End If
End Sub

Private Sub Button1_Click(ByVal sender As
System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
Response.Write(TextBox1.Text)
End Sub

Public Function test()
Response.Write("testme" & TextBox1.Text)
End Function

Private Sub DataGrid1_OnItemCreated(ByVal sender As
Object, ByVal
e As System.Web.UI.WebControls.DataGridItemEventArgs)
Handles
DataGrid1.ItemCreated
Select Case e.Item.ItemType
Case ListItemType.Header
test()
End Select
End Sub

Sub Sort(ByVal sender As Object, ByVal e As
DataGridSortCommandEventArgs)

End Sub

Thanks


.


Nov 19 '05 #4
SK
But I dont want to enter this code in the sort event. it
should call the test function via the onitemcreated event.

-----Original Message-----
Yes, if you add a handler:

Sub Sort(ByVal sender As Object, _
ByVal e As DataGridSortCommandEventArgs)
Response.Write("Sort:" & TextBox1.Text)
End Sub

<form id="Form1" method="post" runat="server">
<asp:datagrid id="DataGrid1" runat="server"
allowsorting="True"></asp:datagrid>
<p> </p>
<p>
<asp:textbox id="TextBox1" runat="server"></asp:textbox></p> <p>
<asp:button id="Button1" runat="server"
Text="Button"></asp:button></p>
</form>
"SK" <an*******@discussions.microsoft.com> wrote in messagenews:09****************************@phx.gbl...
Hi Ken,

does it work for you even if you click the header in
the datagrid ?

THanks

-----Original Message-----
Hi,

I'm not able to reproduce your problem. The following

code outputs the
contents of the textbox in the response.write.

Ken
Microsoft MVP [ASP.NET]
<form id="Form1" method="post" runat="server">
<asp:datagrid id="DataGrid1"

runat="server"></asp:datagrid>
<p> </p>
<p>
<asp:textbox id="TextBox1"

runat="server"></asp:textbox></p>
<p>
<asp:button id="Button1" runat="server"
Text="Button"></asp:button></p>
</form>

Private Sub Page_Load(ByVal sender As System.Object,

ByVal e As
System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
Dim arList As New ArrayList
arList.Add("1")
arList.Add("2")
arList.Add("3")

DataGrid1.DataSource = arList
DataGrid1.DataBind()
End If
End Sub

Private Sub Button1_Click(ByVal sender As

System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Response.Write(TextBox1.Text)
End Sub

Public Function test()
Response.Write("testme" & TextBox1.Text)
End Function

Private Sub DataGrid1_OnItemCreated(ByVal sender As

Object, ByVal e As
System.Web.UI.WebControls.DataGridItemEventArgs ) Handles
DataGrid1.ItemCreated
Select Case e.Item.ItemType
Case ListItemType.Header
test()
End Select
End Sub

Sub Sort(ByVal sender As Object, ByVal e As
DataGridSortCommandEventArgs)

End Sub

"SK" <an*******@discussions.microsoft.com> wrote in

message
news:1d****************************@phx.gbl.. .
Hello,

I have a datagrid, textbox and a button in my page. The datagtrid
has sorting enabled. But, I am not doing any sorting.

Its
just for
test purpose. Now the user enteres some text in the
textbox and
presses the button and it response.writes the value of

it.
Now when I
do a sort then the OnItemCreated Method is called, which again calls
the test function, but it doesnt print the data from the textbox. It
behaves like the textbox is empy, but it isnt. I can see the value in
the textbox. I dont understand that all. Can somebody

help
out?

Here is the code:

Private Sub Page_Load(ByVal sender As System.Object,

ByVal
e As
System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
Dim arList As New ArrayList
arList.Add("1")
arList.Add("2")
arList.Add("3")

DataGrid1.DataSource = arList
DataGrid1.DataBind()
End If
End Sub

Private Sub Button1_Click(ByVal sender As
System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
Response.Write(TextBox1.Text)
End Sub

Public Function test()
Response.Write("testme" & TextBox1.Text)
End Function

Private Sub DataGrid1_OnItemCreated(ByVal sender As
Object, ByVal
e As System.Web.UI.WebControls.DataGridItemEventArgs)
Handles
DataGrid1.ItemCreated
Select Case e.Item.ItemType
Case ListItemType.Header
test()
End Select
End Sub

Sub Sort(ByVal sender As Object, ByVal e As
DataGridSortCommandEventArgs)

End Sub

Thanks

.


.

Nov 19 '05 #5
If the textbox hasn't been reconstituted at that point, you won't be able to
get anything from it. Technically, it doesn't exist on the page yet.

"SK" <an*******@discussions.microsoft.com> wrote in message
news:1e****************************@phx.gbl...
But I dont want to enter this code in the sort event. it
should call the test function via the onitemcreated event.

-----Original Message-----
Yes, if you add a handler:

Sub Sort(ByVal sender As Object, _
ByVal e As DataGridSortCommandEventArgs)
Response.Write("Sort:" & TextBox1.Text)
End Sub

<form id="Form1" method="post" runat="server">
<asp:datagrid id="DataGrid1" runat="server"
allowsorting="True"></asp:datagrid>
<p> </p>
<p>
<asp:textbox id="TextBox1"

runat="server"></asp:textbox></p>
<p>
<asp:button id="Button1" runat="server"
Text="Button"></asp:button></p>
</form>
"SK" <an*******@discussions.microsoft.com> wrote in

message
news:09****************************@phx.gbl...
Hi Ken,

does it work for you even if you click the header in
the datagrid ?

THanks
-----Original Message-----
Hi,

I'm not able to reproduce your problem. The following
code outputs the
contents of the textbox in the response.write.

Ken
Microsoft MVP [ASP.NET]
<form id="Form1" method="post" runat="server">
<asp:datagrid id="DataGrid1"
runat="server"></asp:datagrid>
<p> </p>
<p>
<asp:textbox id="TextBox1"
runat="server"></asp:textbox></p>
<p>
<asp:button id="Button1" runat="server"
Text="Button"></asp:button></p>
</form>

Private Sub Page_Load(ByVal sender As System.Object,
ByVal e As
System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
Dim arList As New ArrayList
arList.Add("1")
arList.Add("2")
arList.Add("3")

DataGrid1.DataSource = arList
DataGrid1.DataBind()
End If
End Sub

Private Sub Button1_Click(ByVal sender As
System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Response.Write(TextBox1.Text)
End Sub

Public Function test()
Response.Write("testme" & TextBox1.Text)
End Function

Private Sub DataGrid1_OnItemCreated(ByVal sender As
Object, ByVal e As
System.Web.UI.WebControls.DataGridItemEventArg s) Handles
DataGrid1.ItemCreated
Select Case e.Item.ItemType
Case ListItemType.Header
test()
End Select
End Sub

Sub Sort(ByVal sender As Object, ByVal e As
DataGridSortCommandEventArgs)

End Sub

"SK" <an*******@discussions.microsoft.com> wrote in
message
news:1d****************************@phx.gbl. ..
> Hello,
>
> I have a datagrid, textbox and a button in my page. The> datagtrid
> has sorting enabled. But, I am not doing any sorting.
Its
> just for
> test purpose. Now the user enteres some text in the
> textbox and
> presses the button and it response.writes the value of
it.
> Now when I
> do a sort then the OnItemCreated Method is called, which> again calls
> the test function, but it doesnt print the data from the> textbox. It
> behaves like the textbox is empy, but it isnt. I can see> the value in
> the textbox. I dont understand that all. Can somebody
help
> out?
>
> Here is the code:
>
> Private Sub Page_Load(ByVal sender As System.Object,
ByVal
> e As
> System.EventArgs) Handles MyBase.Load
> If Not IsPostBack Then
> Dim arList As New ArrayList
> arList.Add("1")
> arList.Add("2")
> arList.Add("3")
>
> DataGrid1.DataSource = arList
> DataGrid1.DataBind()
> End If
> End Sub
>
> Private Sub Button1_Click(ByVal sender As
> System.Object, ByVal e
> As System.EventArgs) Handles Button1.Click
> Response.Write(TextBox1.Text)
> End Sub
>
> Public Function test()
> Response.Write("testme" & TextBox1.Text)
> End Function
>
> Private Sub DataGrid1_OnItemCreated(ByVal sender As
> Object, ByVal
> e As System.Web.UI.WebControls.DataGridItemEventArgs)
> Handles
> DataGrid1.ItemCreated
> Select Case e.Item.ItemType
> Case ListItemType.Header
> test()
> End Select
> End Sub
>
> Sub Sort(ByVal sender As Object, ByVal e As
> DataGridSortCommandEventArgs)
>
> End Sub
>
> Thanks

.


.


Nov 19 '05 #6
SK
So the OnItemCreated is called before the textbox is
created?

Thanks

-----Original Message-----
If the textbox hasn't been reconstituted at that point, you won't be able toget anything from it. Technically, it doesn't exist on the page yet.
"SK" <an*******@discussions.microsoft.com> wrote in messagenews:1e****************************@phx.gbl...
But I dont want to enter this code in the sort event. it
should call the test function via the onitemcreated event.
-----Original Message-----
Yes, if you add a handler:

Sub Sort(ByVal sender As Object, _
ByVal e As DataGridSortCommandEventArgs)
Response.Write("Sort:" & TextBox1.Text)
End Sub

<form id="Form1" method="post" runat="server">
<asp:datagrid id="DataGrid1" runat="server"
allowsorting="True"></asp:datagrid>
<p> </p>
<p>
<asp:textbox id="TextBox1"

runat="server"></asp:textbox></p>
<p>
<asp:button id="Button1" runat="server"
Text="Button"></asp:button></p>
</form>
"SK" <an*******@discussions.microsoft.com> wrote in

message
news:09****************************@phx.gbl.. .
Hi Ken,

does it work for you even if you click the header in
the datagrid ?

THanks
>-----Original Message-----
>Hi,
>
>I'm not able to reproduce your problem. The following
code outputs the
>contents of the textbox in the response.write.
>
>Ken
>Microsoft MVP [ASP.NET]
>
>
> <form id="Form1" method="post" runat="server">
> <asp:datagrid id="DataGrid1"
runat="server"></asp:datagrid>
> <p> </p>
> <p>
> <asp:textbox id="TextBox1"
runat="server"></asp:textbox></p>
> <p>
> <asp:button id="Button1" runat="server">Text="Button"></asp:button></p>
> </form>
>
>Private Sub Page_Load(ByVal sender As System.Object,
ByVal e As
>System.EventArgs) Handles MyBase.Load
> If Not IsPostBack Then
> Dim arList As New ArrayList
> arList.Add("1")
> arList.Add("2")
> arList.Add("3")
>
> DataGrid1.DataSource = arList
> DataGrid1.DataBind()
> End If
> End Sub
>
> Private Sub Button1_Click(ByVal sender As
System.Object, ByVal e As
>System.EventArgs) Handles Button1.Click
> Response.Write(TextBox1.Text)
> End Sub
>
> Public Function test()
> Response.Write("testme" & TextBox1.Text)
> End Function
>
> Private Sub DataGrid1_OnItemCreated(ByVal sender As Object, ByVal e As
>System.Web.UI.WebControls.DataGridItemEventAr gs) Handles>DataGrid1.ItemCreated
> Select Case e.Item.ItemType
> Case ListItemType.Header
> test()
> End Select
> End Sub
>
> Sub Sort(ByVal sender As Object, ByVal e As
>DataGridSortCommandEventArgs)
>
> End Sub
>
>"SK" <an*******@discussions.microsoft.com> wrote in
message
>news:1d****************************@phx.gbl.. .
>> Hello,
>>
>> I have a datagrid, textbox and a button in my page.

The
>> datagtrid
>> has sorting enabled. But, I am not doing any sorting. Its
>> just for
>> test purpose. Now the user enteres some text in the
>> textbox and
>> presses the button and it response.writes the value of it.
>> Now when I
>> do a sort then the OnItemCreated Method is called,

which
>> again calls
>> the test function, but it doesnt print the data from

the
>> textbox. It
>> behaves like the textbox is empy, but it isnt. I can

see
>> the value in
>> the textbox. I dont understand that all. Can somebody help
>> out?
>>
>> Here is the code:
>>
>> Private Sub Page_Load(ByVal sender As System.Object,
ByVal
>> e As
>> System.EventArgs) Handles MyBase.Load
>> If Not IsPostBack Then
>> Dim arList As New ArrayList
>> arList.Add("1")
>> arList.Add("2")
>> arList.Add("3")
>>
>> DataGrid1.DataSource = arList
>> DataGrid1.DataBind()
>> End If
>> End Sub
>>
>> Private Sub Button1_Click(ByVal sender As
>> System.Object, ByVal e
>> As System.EventArgs) Handles Button1.Click
>> Response.Write(TextBox1.Text)
>> End Sub
>>
>> Public Function test()
>> Response.Write("testme" & TextBox1.Text)
>> End Function
>>
>> Private Sub DataGrid1_OnItemCreated(ByVal sender As>> Object, ByVal
>> e As System.Web.UI.WebControls.DataGridItemEventArgs)>> Handles
>> DataGrid1.ItemCreated
>> Select Case e.Item.ItemType
>> Case ListItemType.Header
>> test()
>> End Select
>> End Sub
>>
>> Sub Sort(ByVal sender As Object, ByVal e As
>> DataGridSortCommandEventArgs)
>>
>> End Sub
>>
>> Thanks
>
>.
>

.


.

Nov 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Workgroups | last post by:
I've got a page where the nature of the beast is such that the user clicks a submit button to ransomize some data in somewhat rapid succession (once per second, give or take). The page generates a...
5
by: Matthew Louden | last post by:
I created simple ASP.NET web application to test how AutoPostBack property in a web control works. I set AutoPostBack property to be true of a web control. When I run the application, here's the...
4
by: Karl Hungus | last post by:
how come RaisePostBackEvent doesn't work correctly if the IPostBackDataHandler isnt implemented. It seems that I must at least have: public bool LoadPostData(String postDataKey,...
9
by: Robert Galvin | last post by:
Is it possible to tell which control caused a postback?
3
by: Aleksandr Ayzin | last post by:
Hi, Basic question about PostBack: would it be accurate to say that PostBack is a direct result of triggered event that happened on the form(button clicked, text typed into textbox, so on). Is...
2
by: djc | last post by:
On the page_load event I am querying a database and binding data to some text boxes, list boxes, and a repeater control. When the page loads it uses the value of one of the database fields (status)...
10
by: glenn | last post by:
I am use to programming in php and the way session and post vars are past from fields on one page through to the post page automatically where I can get to their values easily to write to a...
3
by: Phillip N Rounds | last post by:
In diagnosing a problem, I noted that a button_click event gets run only after the page Page_Load event of the post back. (VS 2003, ASPNET 1.1, C#) Can this be correct? I'm trying to set...
2
by: Phillip Vong | last post by:
I know how to check IsPostback, but what is the VB code to force a postback? I have a link I want to do a postback with this URL. I've tried using Postback and I've tried using doPostback. Am I...
0
by: Lance Wynn | last post by:
I recently had a problem where an ASP:Button on a webform was initiating an unwanted postback (I had onClientClick set to a function, and assumed that would override the postback.). I solved this...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.