16,012,107 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by SushilDharmar (Top 19 by date)
SushilDharmar
29-Jul-13 3:00am
View
if the record is saved from the application page to the server after clicking on the text box clear all the control values.
Or Else
On load time assign a value to an string.
On the click event
check the value of the string using if condition after that change the value of the string in the if block.
In the next time, the value of the string would have been changed and it will skip.
SushilDharmar
29-Jul-13 2:46am
View
Rockstar_ - 8 mins ago
Clear textboxes after submit
SushilDharmar
5-Jun-13 8:59am
View
hi Sudhakar.
I got the solution.
SushilDharmar
19-Oct-12 7:15am
View
oracle doesnt supports double Quotes(") at the time of insertion.
SushilDharmar
17-Aug-12 11:31am
View
I Don't Know how to thank you all
Thank you Friends you had Saved my code a lot...!!
SushilDharmar
5-Aug-12 9:29am
View
By Seeing dis I Hope U got my Real Problem Mr.Sunil Still not yet got the solution for it...
Help Me
Thanks in Advance
SushilDharmar
5-Aug-12 9:09am
View
Ok Mr.Christian Graus
SushilDharmar
21-Apr-12 22:51pm
View
ok.....
SushilDharmar
19-Apr-12 11:06am
View
can we use any other data controls either than gridview..?
SushilDharmar
19-Apr-12 11:03am
View
ok Mark..
SushilDharmar
8-Apr-12 5:08am
View
I Got It yar.. The Problem is been Solved out... :-)
Thank you So much for your Help Friend...
SushilDharmar
8-Apr-12 4:37am
View
It Not Working yar..
Still the Same Error...
SushilDharmar
21-Mar-12 22:32pm
View
The DropDownList Should Display only 10 Data Container at a time.
On OnClick Event of an DropDown List.
And for the Rest, the User should use the Vertical Scroll Bar for the Selection of an Item from the dropdown list.
Instead of having a long DropDownList box.
SushilDharmar
21-Mar-12 22:30pm
View
Deleted
The DropDownList Should Display only 10 Data Container at a time.
On OnClick Event of an DropDown List.
And for the Rest, the User can use the Vertical Scroll Bar for Selection.
Instead of having a long DropDown List box.
SushilDharmar
27-Sep-11 8:41am
View
Its an Classic ASP 3.0
SushilDharmar
27-Sep-11 8:41am
View
Its an Classic ASP 3.0
SushilDharmar
27-Sep-11 6:06am
View
Deleted
Yup Mr.Pravin dats one of the solution but my need is some thing eslse so dis tym i had posted the code....
since the value stored in hidden field is of no use till the page refreshes in asp, but if i go for an refresh the value of radio button is not retained kindly help me Mr Pravin Patil
Plz have ur kind tym and provide me the solutions
Thanking you in advance
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> My Validation </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<script type="text/javascript">
<!--
function Check()
{
var count=0;
var len=document.frmcheckradio.elements.length;
//var val=document.frmcheckradio.elements[i].value;
for (var i=0;i<len ;i++="" )
="" {
="" if(document.frmcheckradio.elements[i].type="="radio")
" alert(document.frmcheckradio.elements[i].type);
="" if(document.frmcheckradio.elements[i].checked="=true)
" {=""
="" count++;
="" alert(document.frmcheckradio.elements[i].value);
="" if="" (count="=2)
" if(document.frmcheckradio.elements[i].value="="Recovery")
" alert(document.frmcheckradio.elements[i].value+"---"+"janam");
="" alert(document.frmcheckradio("hidrec").value);
="" document.frmcheckradio.hidrec.value="R" ;
="" document.frmcheckradio("dispgrid").style.display="block" }
="" document.frmcheckradio("hidamount").value="C" }="" document.frmcheckradio("hidrec").value="P" else
="" alert("first="" select="" the="" option");
="" document.frmcheckradio("hidstatus").value="N" document.getelementbyid("dispgrid").style.display="none" function="" ok(a,b)
="" alert(document.frmcheckradio("hidamount").value);
="" var="" rec="document.frmcheckradio("hidrec").value;
" amt="document.frmcheckradio("hidamount").value;
//" frmcheckradio.method="post" frmcheckradio.action="MainRadioCheck.asp" frmcheckradio.submit();
="" alert(document.frmcheckradio("hidrec").value)+"dfdsf"+(document.frmcheckradio("hidamount").value);
="" alert(document.frmcheckradio("hidamount").value)+"dfdsf"+(document.frmcheckradio("hidrec").value);
="" self.location="MainRadioCheck.asp?r=" +rec+"a="+amt;
//alert(document.frmcheckradio(" hidrec").value)+"dfdsf"+(document.frmcheckradio("hidamount").value);
="" --="">
</script>
</head> <body>
<form method="get" action="MainRadioCheck.asp">
<%
Dim c,d
a=Request.QueryString("r")
b=Request.QueryString("a")
'response.write "dsfdsfadf<br>" & a & b & "<br>dsfdsfadf"
c=Request.Form("recovery")
response.write c & "dsfdsfds"
%>
</form>
<form name="frmcheckradio" method="post" action="">
<div>
<input type="text" name="hidrec" value="">
<input type="text" name="hidamount" value="">
<input type="text" name="hidstatus" value="">
<input type="text" name="hidrefreshrec" value="">
<input type="text" name="hidrefreshamnt" value="">
<br><br><br>
<table cellpadding="1" cellspacing="2" border="1" style="width:450px">
<tr>
<td><input type="radio" name="recovery" value="Recovery" önchange="Check()">RECOVERY</td>
<td><input type="radio" name="r
SushilDharmar
13-Aug-11 14:04pm
View
you are right... but i need a solution dude..........
SushilDharmar
8-Aug-11 11:53am
View
now its showing an error named GridView doesnot contain a public Definition for GetEnumerator.
Thank you For you Replay Friends...
Thanking you Once Again
Sushil Dharmar
Show More