Click here to Skip to main content
15,899,475 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionThe Specified String is not in the form required by an email address Pin
Strategon19-Nov-07 10:40
Strategon19-Nov-07 10:40 
Questionhow to disable the hyperlink button in repeater control.very urgent... Pin
Murugan.nett19-Nov-07 9:19
Murugan.nett19-Nov-07 9:19 
AnswerRe: how to disable the hyperlink button in repeater control.very urgent... Pin
SABhatti19-Nov-07 9:30
SABhatti19-Nov-07 9:30 
AnswerRe: how to disable the hyperlink button in repeater control.very urgent... Pin
Vasudevan Deepak Kumar19-Nov-07 18:06
Vasudevan Deepak Kumar19-Nov-07 18:06 
QuestionAssign default value in edit mode formview [modified] Pin
bnbdnb19-Nov-07 8:00
bnbdnb19-Nov-07 8:00 
AnswerRe: Assign default value in edit mode formview Pin
Christian Graus19-Nov-07 9:17
protectorChristian Graus19-Nov-07 9:17 
GeneralRe: Assign default value in edit mode formview Pin
bnbdnb19-Nov-07 9:30
bnbdnb19-Nov-07 9:30 
AnswerRe: Assign default value in edit mode formview Pin
bnbdnb19-Nov-07 9:42
bnbdnb19-Nov-07 9:42 
Here is what I have:

a gridview that has listed tickets, and when you select on a ticket, it pops up the formview

the formview has editable fields and one field i wish to not have edited is the "modified by" text box



so i tried this:



Protected Sub FormView1_DataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles FormView1.DataBound
If FormView1.CurrentMode = FormViewMode.Edit Then
Dim ModifiedBy As TextBox = CType(FormView1.FindControl("ModifiedByTextBox"), TextBox)

If Not ModifiedBy Is Nothing Then
ModifiedBy.Text = User.Identity.Name
End If
End If
End Sub

Still resulted in the Modified By textbox have the already assigned value that was pulled in the query.

GeneralRe: Assign default value in edit mode formview Pin
bnbdnb19-Nov-07 17:40
bnbdnb19-Nov-07 17:40 
QuestionClient side post back Pin
solarthur0119-Nov-07 6:32
solarthur0119-Nov-07 6:32 
AnswerRe: Client side post back Pin
DigiOz Multimedia19-Nov-07 9:14
DigiOz Multimedia19-Nov-07 9:14 
AnswerRe: Client side post back Pin
pmarfleet19-Nov-07 9:15
pmarfleet19-Nov-07 9:15 
AnswerRe: Client side post back Pin
Vasudevan Deepak Kumar19-Nov-07 18:08
Vasudevan Deepak Kumar19-Nov-07 18:08 
Questionerror message in login page Pin
rocky81119-Nov-07 5:33
rocky81119-Nov-07 5:33 
AnswerRe: error message in login page Pin
Prateek G19-Nov-07 19:16
Prateek G19-Nov-07 19:16 
QuestionChange Gridview ImageButton and back Pin
GianFiume19-Nov-07 5:03
GianFiume19-Nov-07 5:03 
AnswerRe: Change Gridview ImageButton and back Pin
SABhatti19-Nov-07 9:46
SABhatti19-Nov-07 9:46 
GeneralRe: Change Gridview ImageButton and back Pin
GianFiume19-Nov-07 21:11
GianFiume19-Nov-07 21:11 
Questioni want the path where the file was saved Pin
jagan12319-Nov-07 3:42
jagan12319-Nov-07 3:42 
AnswerRe: i want the path where the file was saved Pin
pmarfleet19-Nov-07 4:24
pmarfleet19-Nov-07 4:24 
AnswerRe: i want the path where the file was saved Pin
Malcolm Smart19-Nov-07 12:19
Malcolm Smart19-Nov-07 12:19 
Questiondisable button on one webform from other Pin
rocky81119-Nov-07 3:34
rocky81119-Nov-07 3:34 
AnswerRe: disable button on one webform from other Pin
Michael Sync19-Nov-07 4:20
Michael Sync19-Nov-07 4:20 
GeneralRe: disable button on one webform from other Pin
rocky81119-Nov-07 4:56
rocky81119-Nov-07 4:56 
GeneralRe: disable button on one webform from other Pin
Michael Sync19-Nov-07 5:18
Michael Sync19-Nov-07 5:18 

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.