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

ASP.NET

 
Questioncan grow in cross tab crystal report. Pin
Sonia Gupta3-Mar-08 22:11
Sonia Gupta3-Mar-08 22:11 
QuestionIframe is not working Pin
vineesh v3-Mar-08 22:10
vineesh v3-Mar-08 22:10 
GeneralRe: Iframe is not working Pin
N a v a n e e t h3-Mar-08 22:46
N a v a n e e t h3-Mar-08 22:46 
GeneralRe: Iframe is not working Pin
eyeseetee3-Mar-08 23:23
eyeseetee3-Mar-08 23:23 
GeneralLinkButton in DataGrid Pin
VanithaVasu3-Mar-08 21:47
VanithaVasu3-Mar-08 21:47 
GeneralRe: LinkButton in DataGrid Pin
N a v a n e e t h3-Mar-08 22:44
N a v a n e e t h3-Mar-08 22:44 
GeneralRe: LinkButton in DataGrid Pin
VanithaVasu4-Mar-08 17:37
VanithaVasu4-Mar-08 17:37 
Generalset username and password to open internet explorer Pin
gopismiles3-Mar-08 21:14
gopismiles3-Mar-08 21:14 
GeneralRe: set username and password to open internet explorer Pin
Christian Graus3-Mar-08 21:21
protectorChristian Graus3-Mar-08 21:21 
GeneralRe: set username and password to open internet explorer Pin
eyeseetee3-Mar-08 21:27
eyeseetee3-Mar-08 21:27 
GeneralRe: set username and password to open internet explorer Pin
Christian Graus3-Mar-08 21:45
protectorChristian Graus3-Mar-08 21:45 
GeneralCannot Get Traditional Chinese character properly with Request.QueryString under ASP.NET C# Pin
oceandeeplawrence3-Mar-08 21:09
oceandeeplawrence3-Mar-08 21:09 
GeneralThe problem during writing into an existing cookie, after re running my web application....... Pin
Vishnu Narayan Mishra3-Mar-08 20:57
Vishnu Narayan Mishra3-Mar-08 20:57 
GeneralIIS System.OutOfMemoryException Pin
Eduard Keilholz3-Mar-08 20:05
Eduard Keilholz3-Mar-08 20:05 
Questionhow to show gridview update after button click without postback Pin
uglyeyes3-Mar-08 19:23
uglyeyes3-Mar-08 19:23 
AnswerRe: how to show gridview update after button click without postback Pin
Christian Graus3-Mar-08 19:34
protectorChristian Graus3-Mar-08 19:34 
GeneralRe: how to show gridview update after button click without postback Pin
uglyeyes3-Mar-08 19:41
uglyeyes3-Mar-08 19:41 
Hi Chris

you have mentioned using either URL parameter or view state. now i cant use URL parameter as its a requirement.
here are few codes to help u understand.

Private Sub gvUsers_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles gvUsers.SelectedIndexChanged
dsAssignedPropertyList = mydal.SecurityGetAssignedPropertyByUser(domainid, CompId, userid)
If Not dsAssignedPropertyList Is Nothing Then
gvAssignedProperty.DataSource = dsAssignedPropertyList
gvAssignedProperty.DataBind()
end sub

Protected Sub btnAssign_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAssign.Click
Dim myDAL As New clsDAL
Dim result As Boolean = False

userid = CInt(lblUserId.Text)
propertyid = lbAvailableProperty.SelectedValue
result = myDAL.SecurityAssignProperty(userid, propertyid)
If result Then
lblMsg.Text = "updated"
Else
lblMsg.Text = "failed"
End If

End Sub

In first method i am populating gvAssignedProperty and in second method i managed to insert the record and display a message but i really want to show the added record in a grid. could you please help?

thanks
GeneralRe: how to show gridview update after button click without postback Pin
uglyeyes3-Mar-08 19:52
uglyeyes3-Mar-08 19:52 
GeneralRe: how to show gridview update after button click without postback Pin
Christian Graus3-Mar-08 20:11
protectorChristian Graus3-Mar-08 20:11 
GeneralRe: how to show gridview update after button click without postback Pin
Christian Graus3-Mar-08 19:53
protectorChristian Graus3-Mar-08 19:53 
GeneralRe: how to show gridview update after button click without postback Pin
uglyeyes4-Mar-08 11:46
uglyeyes4-Mar-08 11:46 
Generalget a value in a gridview Pin
caradri3-Mar-08 19:03
caradri3-Mar-08 19:03 
GeneralRe: get a value in a gridview Pin
Christian Graus3-Mar-08 19:36
protectorChristian Graus3-Mar-08 19:36 
GeneralRe: get a value in a gridview Pin
caradri3-Mar-08 20:35
caradri3-Mar-08 20:35 
GeneralRe: get a value in a gridview Pin
Christian Graus3-Mar-08 20:49
protectorChristian Graus3-Mar-08 20:49 

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.