Click here to Skip to main content
15,920,217 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionkeydown event doesn't get triggerd Pin
Tom Deketelaere30-Jul-07 5:03
professionalTom Deketelaere30-Jul-07 5:03 
QuestionListView and ContextMenu Pin
Sebastian T Xavier30-Jul-07 4:27
Sebastian T Xavier30-Jul-07 4:27 
QuestionWebservice written in VB.NET Pin
microdommi30-Jul-07 4:04
microdommi30-Jul-07 4:04 
AnswerRe: Webservice written in VB.NET Pin
kubben30-Jul-07 6:43
kubben30-Jul-07 6:43 
GeneralRe: Webservice written in VB.NET Pin
microdommi30-Jul-07 10:19
microdommi30-Jul-07 10:19 
QuestionHow to Search a datagrid in SQL, VB.net Pin
Vimalsoft(Pty) Ltd30-Jul-07 3:33
professionalVimalsoft(Pty) Ltd30-Jul-07 3:33 
AnswerRe: How to Search a datagrid in SQL, VB.net Pin
penguin500030-Jul-07 10:25
penguin500030-Jul-07 10:25 
QuestionViewState Not Refreshing Pin
Brendan Vogt30-Jul-07 3:14
Brendan Vogt30-Jul-07 3:14 
Hi,

I am still working with VB.NET 1.1.

I have the following in my page load:

Private Sub Page_Load

If Not Page.IsPostBack Then
ViewState("ContainsSearch") = "Text 1"
End If

Response.Write("ViewState(ContainsSearch) = " & ViewState("ContainsSearch"))

End Sub

Private Sub btnSearch_Click(ByVal sender As System.Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles btnSearch.Click

ViewState("ContainsSearch") = "Text 2"

End Sub

When the page loads for the first time it displays Text 1. When I click the button it still displays Text 1. When I press F5, then it only displays Text 2. How can I get it to display Text 2 when I click the button because the view state value is supposed to change when I click the button.

Regards,
ma se
AnswerRe: ViewState Not Refreshing Pin
Dave Kreskowiak30-Jul-07 9:21
mveDave Kreskowiak30-Jul-07 9:21 
Questionhaving a inner table in a dataset Pin
ajith prasath30-Jul-07 2:04
ajith prasath30-Jul-07 2:04 
AnswerRe: having a inner table in a dataset Pin
Dave Kreskowiak30-Jul-07 9:06
mveDave Kreskowiak30-Jul-07 9:06 
Questionwebbrowser control Pin
Ahmad Zaidi30-Jul-07 1:54
Ahmad Zaidi30-Jul-07 1:54 
AnswerRe: webbrowser control Pin
Dave Kreskowiak30-Jul-07 9:04
mveDave Kreskowiak30-Jul-07 9:04 
GeneralRe: webbrowser control Pin
Ahmad Zaidi30-Jul-07 22:04
Ahmad Zaidi30-Jul-07 22:04 
Questionhow to update the dataset programically to database in vb.net Pin
ajith prasath30-Jul-07 1:53
ajith prasath30-Jul-07 1:53 
AnswerRe: how to update the dataset programically to database in vb.net Pin
DanB198330-Jul-07 9:54
DanB198330-Jul-07 9:54 
Questionslider on ruler control [modified] Pin
eyes200730-Jul-07 1:11
eyes200730-Jul-07 1:11 
Questionhow to print the contents of rich text box Pin
eyes200730-Jul-07 1:09
eyes200730-Jul-07 1:09 
AnswerRe: how to print the contents of rich text box Pin
Dave Kreskowiak30-Jul-07 8:59
mveDave Kreskowiak30-Jul-07 8:59 
Questionvb.net 1.1 DataGrid Pin
A.Surendar Reddy29-Jul-07 23:03
A.Surendar Reddy29-Jul-07 23:03 
AnswerRe: vb.net 1.1 DataGrid Pin
cutequencher29-Jul-07 23:17
cutequencher29-Jul-07 23:17 
GeneralRe: vb.net 1.1 DataGrid Pin
A.Surendar Reddy31-Jul-07 1:00
A.Surendar Reddy31-Jul-07 1:00 
AnswerRe: vb.net 1.1 DataGrid Pin
Tamimi - Code30-Jul-07 1:05
Tamimi - Code30-Jul-07 1:05 
Questionsubreport and record number in crystal report. vb.net 2002. crystal report 8 Pin
cutequencher29-Jul-07 22:36
cutequencher29-Jul-07 22:36 
QuestionWhat is wrong with this Following ADO.net code Pin
Vimalsoft(Pty) Ltd29-Jul-07 22:34
professionalVimalsoft(Pty) Ltd29-Jul-07 22:34 

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.