Click here to Skip to main content
15,917,454 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: my browser is not showing image button and images while iam running the web application Pin
srikanth raju9-Jan-07 19:41
srikanth raju9-Jan-07 19:41 
AnswerRe: my browser is not showing image button and images while iam running the web application Pin
ednrgc9-Jan-07 6:32
ednrgc9-Jan-07 6:32 
GeneralRe: my browser is not showing image button and images while iam running the web application Pin
srikanth raju9-Jan-07 7:04
srikanth raju9-Jan-07 7:04 
GeneralRe: my browser is not showing image button and images while iam running the web application Pin
ednrgc9-Jan-07 7:06
ednrgc9-Jan-07 7:06 
GeneralRe: my browser is not showing image button and images while iam running the web application Pin
srikanth raju9-Jan-07 7:21
srikanth raju9-Jan-07 7:21 
GeneralRe: my browser is not showing image button and images while iam running the web application Pin
ednrgc9-Jan-07 7:30
ednrgc9-Jan-07 7:30 
GeneralRe: my browser is not showing image button and images while iam running the web application Pin
srikanth raju9-Jan-07 7:53
srikanth raju9-Jan-07 7:53 
QuestionCustom Validator Question [modified] Pin
Dayekh9-Jan-07 4:34
Dayekh9-Jan-07 4:34 
Hi,
I am trying to check where user group number 7 is logged in. If they are, then a certain Field mandatory. When I click on save, this procedure is not even running. I have been trying to fix this code since December but I can't find the problem. Please let me know if you can.

Here's the code:

The VB Script

Protected Sub CheckTimeEstimate(ByVal sender As Object, ByVal e As ServerValidateEventArgs)
Dim blDeveloper As Boolean
Dim objAccess As clsAccess
objAccess = New clsAccess
blDeveloper = objAccess.checkHasRight(System.Convert.ToInt32(Session("UserID")), "7")
If blDeveloper = True Then
If Len(Me.txtTimeEstimate.Text) > 0 Then
e.IsValid = True
Else
e.IsValid = False
End If
End If
End Sub



The Validator
<<asp:customvalidator id="cstTimeEstimate" runat="server" forecolor="#7C1E3F" display="Dynamic" controltovalidate="txtTimeEstimate"
="" errormessage="<Img border=0 width='10px' height='10px' src='Images/Star.gif'>" tooltip="This field is Required!" <b="">OnServerValidate="CheckTimeEstimate">


Ignore the double angled brackets at the start of the validator, I did that so the page will display it.


-- modified at 10:41 Tuesday 9th January, 2007
AnswerRe: Custom Validator Question Pin
Not Active9-Jan-07 4:50
mentorNot Active9-Jan-07 4:50 
GeneralRe: Custom Validator Question Pin
Dayekh9-Jan-07 5:03
Dayekh9-Jan-07 5:03 
GeneralRe: Custom Validator Question Pin
Dayekh9-Jan-07 5:15
Dayekh9-Jan-07 5:15 
GeneralRe: Custom Validator Question Pin
Sebastian T Xavier9-Jan-07 6:06
Sebastian T Xavier9-Jan-07 6:06 
QuestionAdd a UserControl to a WebProject. Pin
theJazzyBrain9-Jan-07 3:12
theJazzyBrain9-Jan-07 3:12 
AnswerRe: Add a UserControl to a WebProject. Pin
ednrgc9-Jan-07 3:34
ednrgc9-Jan-07 3:34 
GeneralRe: Add a UserControl to a WebProject. Pin
theJazzyBrain9-Jan-07 5:59
theJazzyBrain9-Jan-07 5:59 
GeneralRe: Add a UserControl to a WebProject. Pin
ednrgc9-Jan-07 6:00
ednrgc9-Jan-07 6:00 
GeneralRe: Add a UserControl to a WebProject. Pin
theJazzyBrain9-Jan-07 6:18
theJazzyBrain9-Jan-07 6:18 
GeneralRe: Add a UserControl to a WebProject. Pin
ednrgc9-Jan-07 6:30
ednrgc9-Jan-07 6:30 
GeneralRe: Add a UserControl to a WebProject. Pin
theJazzyBrain9-Jan-07 6:33
theJazzyBrain9-Jan-07 6:33 
QuestionException Handling In Debug And Release Modes Pin
just3ala29-Jan-07 3:09
just3ala29-Jan-07 3:09 
AnswerRe: Exception Handling In Debug And Release Modes Pin
ednrgc9-Jan-07 3:35
ednrgc9-Jan-07 3:35 
GeneralRe: Exception Handling In Debug And Release Modes Pin
Not Active9-Jan-07 4:26
mentorNot Active9-Jan-07 4:26 
GeneralRe: Exception Handling In Debug And Release Modes Pin
ednrgc9-Jan-07 4:44
ednrgc9-Jan-07 4:44 
GeneralRe: Exception Handling In Debug And Release Modes Pin
Not Active9-Jan-07 4:46
mentorNot Active9-Jan-07 4:46 
GeneralRe: Exception Handling In Debug And Release Modes Pin
ednrgc9-Jan-07 4:48
ednrgc9-Jan-07 4:48 

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.