Click here to Skip to main content
15,902,492 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questiontree control in asp.net(c#) [modified] Pin
ptvce30-Sep-06 23:18
ptvce30-Sep-06 23:18 
QuestionPl Help - How to superimpose 2 images in ASP.net Pin
atulxxx30-Sep-06 22:00
atulxxx30-Sep-06 22:00 
QuestionAdjust to disable "Debugging Not Enabled" messagebox? Pin
pedestrian79730-Sep-06 17:35
pedestrian79730-Sep-06 17:35 
AnswerRe: Adjust to disable "Debugging Not Enabled" messagebox? Pin
e-laj30-Sep-06 18:11
e-laj30-Sep-06 18:11 
GeneralRe: Adjust to disable "Debugging Not Enabled" messagebox? Pin
pedestrian7971-Oct-06 17:02
pedestrian7971-Oct-06 17:02 
QuestionGridView and Images..........Anyone.............???/ Pin
sanju027630-Sep-06 16:13
sanju027630-Sep-06 16:13 
AnswerRe: GridView and Images..........Anyone.............???/ Pin
minhpc_bk1-Oct-06 15:41
minhpc_bk1-Oct-06 15:41 
QuestionJavaScript and Server Code Pin
Amit Kumar G30-Sep-06 11:06
Amit Kumar G30-Sep-06 11:06 
Hi All

I am building an small page in asp.net by using vb.net. The page is having 10 different controls from which one is UserName. I have two button one is Submit and other one is check user availability. Check user avaibality will be use by user to see if entered user name is available or not.

Now I am doing below tasks

1)On page load - Adding Javascript function
Me.CmdCheckAvl.Attributes.Add("onClick", "return bValidateUserName(" & icount & ");")

2)Public Sub CmdCheckAvl_ServerClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CmdCheckAvl.Click

'To Check user name already exists in db or not. This will be check by using Session("UserNameList") which is build from serNameVw

Dim UserNameVw As New DataView
UserNameVw = Session("UserNameList")
UserNameVw.RowFilter = "UserName=" & "'" & Me.TxtUserName.Text & "'"
hdnCount.Value = UserNameVw.Count
icount = hdnCount.Value
End Sub

But by this icount in step one is always zero….

how i can pass server end value to client site code or any other workaround by which i can acheive the functionality.....Roll eyes | :rolleyes:

Amit
AnswerRe: JavaScript and Server Code Pin
Guffa1-Oct-06 0:38
Guffa1-Oct-06 0:38 
QuestionI can't use a Local Resource value Pin
shapper30-Sep-06 11:02
shapper30-Sep-06 11:02 
AnswerRe: I can't use a Local Resource value Pin
minhpc_bk1-Oct-06 15:35
minhpc_bk1-Oct-06 15:35 
QuestionUppercase Pin
shapper30-Sep-06 11:01
shapper30-Sep-06 11:01 
AnswerRe: Uppercase Pin
Guffa30-Sep-06 12:16
Guffa30-Sep-06 12:16 
AnswerRe: Uppercase Pin
albCode1-Oct-06 1:58
albCode1-Oct-06 1:58 
GeneralRe: Uppercase Pin
Amit Kumar G1-Oct-06 13:01
Amit Kumar G1-Oct-06 13:01 
QuestionBusiness Entity Set Pin
TheEagle30-Sep-06 9:38
TheEagle30-Sep-06 9:38 
AnswerRe: Business Entity Set Pin
minhpc_bk1-Oct-06 15:33
minhpc_bk1-Oct-06 15:33 
GeneralRe: Business Entity Set Pin
TheEagle2-Oct-06 16:50
TheEagle2-Oct-06 16:50 
GeneralRe: Business Entity Set Pin
minhpc_bk2-Oct-06 19:55
minhpc_bk2-Oct-06 19:55 
GeneralRe: Business Entity Set Pin
TheEagle4-Oct-06 12:28
TheEagle4-Oct-06 12:28 
GeneralRe: Business Entity Set Pin
minhpc_bk4-Oct-06 15:01
minhpc_bk4-Oct-06 15:01 
GeneralRe: Business Entity Set Pin
TheEagle4-Oct-06 20:36
TheEagle4-Oct-06 20:36 
GeneralRe: Business Entity Set Pin
minhpc_bk4-Oct-06 21:13
minhpc_bk4-Oct-06 21:13 
GeneralRe: Business Entity Set Pin
TheEagle5-Oct-06 8:30
TheEagle5-Oct-06 8:30 
QuestionGoogle and Asp.Net Pin
shapper30-Sep-06 2:50
shapper30-Sep-06 2:50 

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.