Click here to Skip to main content
15,918,485 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Can an ASP.Net Control be used in old asp page? Pin
PrashantJ19-Jan-07 7:52
PrashantJ19-Jan-07 7:52 
Questioninterview questions Pin
saravanan0519-Jan-07 5:42
saravanan0519-Jan-07 5:42 
AnswerRe: interview questions Pin
ToddHileHoffer19-Jan-07 6:01
ToddHileHoffer19-Jan-07 6:01 
GeneralRe: interview questions Pin
ednrgc19-Jan-07 7:07
ednrgc19-Jan-07 7:07 
QuestionWhich command/code we get any event trigger from client (ie: mouse -click)? Pin
ATC19-Jan-07 5:34
ATC19-Jan-07 5:34 
AnswerRe: Which command/code we get any event trigger from client (ie: mouse -click)? Pin
ToddHileHoffer19-Jan-07 6:04
ToddHileHoffer19-Jan-07 6:04 
GeneralRe: Which command/code we get any event trigger from client (ie: mouse -click)? Pin
ATC21-Jan-07 11:27
ATC21-Jan-07 11:27 
QuestionCustom Validator [NOT working] Pin
Dayekh19-Jan-07 4:02
Dayekh19-Jan-07 4:02 
Hi,

My Custom Validator DOESNOT want to execute Frown | :( Please help me.

Here's the code.. I am desperate..

Front-End
=========
<TD width="35%" colSpan="2">

<asp:TextBox id="txtUsername" tabIndex="18" runat="server" CssClass="smallFormBox" width="150" MaxLength="50"></asp:TextBox>

<asp:CustomValidator id="cstUsername" runat="server" ForeColor="#7C1E3F" Visible="False" ControlToValidate="txtUsername" OnServerValidate="CheckUsername" ErrorMessage="<Img border=0 width='10px' height='10px' src='../Images/Star.gif'>" tooltip="This username already exists" Enabled="True"></asp:CustomValidator>

</TD>


VB SCRIPT
=========

Protected Sub CheckUsername(ByVal sender As Object, ByVal e As ServerValidateEventArgs)

Dim ds As New DataSet
Dim objUser As New clsUser
objUser = New clsUser

ds = objUser.getUserNameDetails(Me.txtUsername.Text)

If (ds.Tables(0).Rows.Count > 0) Then
e.IsValid = False
End If
End Sub
AnswerRe: Custom Validator [NOT working] Pin
Paddy Boyd19-Jan-07 4:20
Paddy Boyd19-Jan-07 4:20 
GeneralRe: Custom Validator [NOT working] Pin
Dayekh19-Jan-07 5:07
Dayekh19-Jan-07 5:07 
Questionhow to synchronize information from ASP.NET calendar to outlook calendar ? Pin
King Shez19-Jan-07 3:44
King Shez19-Jan-07 3:44 
Questionfocus on asp.net button [modified] Pin
amit_k_gupta19-Jan-07 3:39
amit_k_gupta19-Jan-07 3:39 
AnswerRe: focus on asp.net button Pin
ednrgc19-Jan-07 5:48
ednrgc19-Jan-07 5:48 
AnswerRe: focus on asp.net button Pin
enjoycrack19-Jan-07 21:09
enjoycrack19-Jan-07 21:09 
QuestionTo get Code of Sending Mail Automatically Through Asp.net Pin
frsravi19-Jan-07 2:22
frsravi19-Jan-07 2:22 
Questionto get code of Hit-Counter Pin
frsravi19-Jan-07 2:19
frsravi19-Jan-07 2:19 
AnswerRe: to get code of Hit-Counter Pin
ednrgc19-Jan-07 5:53
ednrgc19-Jan-07 5:53 
Questione-gold.com paying Pin
boss-tech19-Jan-07 2:12
boss-tech19-Jan-07 2:12 
AnswerRe: e-gold.com paying Pin
Paddy Boyd19-Jan-07 4:21
Paddy Boyd19-Jan-07 4:21 
GeneralRe: e-gold.com paying Pin
boss-tech20-Jan-07 23:03
boss-tech20-Jan-07 23:03 
Questionabout new knowledge in website designing and coding Pin
frsravi19-Jan-07 2:04
frsravi19-Jan-07 2:04 
QuestionSaving html page at client side Pin
Member 371604419-Jan-07 1:26
Member 371604419-Jan-07 1:26 
QuestionCompare date alog with time Pin
kinnuP19-Jan-07 1:21
kinnuP19-Jan-07 1:21 
AnswerRe: Compare date alog with time Pin
frsravi19-Jan-07 2:16
frsravi19-Jan-07 2:16 
GeneralRe: Compare date alog with time Pin
kinnuP19-Jan-07 3:55
kinnuP19-Jan-07 3:55 

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.