|
<br />
alert('ok');<br />
|
|
|
|
|
Hi friends.
I need to convert html string to image.
Can anybody help me regarding this?
Thanks in advance.
please don't forget to vote on the post that helped you.
|
|
|
|
|
|
<asp:RadioButtonList ID="rdDateSelection" visible="true" AutoPostBack="true" runat="server" RepeatDirection="vertical" >
<asp:ListItem Value="Today">Today</asp:ListItem>
<asp:ListItem Value="FromToDate">From </asp:ListItem>
</asp:RadioButtonList>
through javascripting i want ot find out which radio the user has clicked .
|
|
|
|
|
var value=rdDateSelection.Options[rdDateSelection.selectedIndex].value;<br />
if(value=="Today")<br />
else <br />
please don't forget to vote on the post that helped you.
|
|
|
|
|
Options is giving null some error
|
|
|
|
|
Get a idea from following script
SCRIPT LANGUAGE="JavaScript">
function testButton (form){
for (Count = 0; Count < 3; Count++) {
if (form.rad[Count].checked)
break;
}
alert ("Button " + Count + " is selected");
}
onClick="testButton(this.form)">
|
|
|
|
|
Try this it is working fine
function getCheckedRadio() {
var radioButtons = document.getElementsByName("rblCustomer");
for (var x = 0; x < radioButtons.length; x ++) {
if (radioButtons[x].checked) {
alert("You checked " + radioButtons[x].id + " which has the value " + radioButtons[x].value);
}
}
}
<asp:radiobuttonlist id="rblCustomer" runat="server" repeatdirection="Horizontal" cellpadding="0" cellspacing="0">
<asp:listitem value="Today">Today
<asp:listitem value="FromToDate">FromToDate
<asp:button id="Button1" runat="server" text="Button" onclientclick="getCheckedRadio()">
|
|
|
|
|
hi, Try this... its working
function mytest()
{
var rdolist = document.getElementsByName("RadioButtonList1");
if (rdolist[1].checked)
alert("1");
if (rdolist[2].checked)
alert("2");
if (rdolist[3].checked)
alert("3");
return true;
}
protected void Page_Load(object sender, EventArgs e)
{
RadioButtonList1.Attributes.Add("onclick", "javascript: return mytest();");
}
sandesh
|
|
|
|
|
Hi
how to export pdf doc from gridview using iTextSharp.
Prasanna Kumar.B
|
|
|
|
|
prasanna548 wrote: how to export pdf doc from gridview using iTextSharp.
Refer this Post
please don't forget to vote on the post that helped you.
|
|
|
|
|
Hey people,
I've created a TreeView, which appears to be populating itself either by caching everything when it loads, or via ajax (not sure, as page doesn't reload when I expand the tree, which is connected to a database....). I'm using the "OnTreeNodePopulate" event to speak to the database for the Nodes to load.
When I expand a TreeNode which has a lot of TreeNodes below it, it takes a few seconds to load up, is there a way to before it starts to load, change the Web Browser's Status Bar to say "loading treeview" or something to indicate to the user, that it has not crashed?
Regards,
CD
|
|
|
|
|
|
Beginner wrote: Can I use ASP.NET concepts to access internet in System B from System A
by creating a web server-client architecture , where page is
downloaded on A and viewed on B.
OMG, you won't be able to do this in ASP.NET. It works on the server, listens to the requests and serves HTML. ASP.NET can't fetch the page and send that page through LAN to other computer. Since you are a beginner, consider purchasing good ASP.NET books and start with that. Check BOL to get an idea about how it is working.
|
|
|
|
|
hai,
does anyone know how to record and save voice from a microphone using asp.net 1.1 on a button click? plz respond as soon as possible
thanks and regards
Catharin
|
|
|
|
|
the thing is that, i need to record dictions done by a person through a microphone and save it as an audio file of formats(*.mp3,*.wav,*.avi etc.).
I am using ASP.NET 1.1 for this(Web Application).
i dont know how to resolve the problem.
|
|
|
|
|
the thing is , i need to record dictions done by a person through a microphone and save it as an audio file of formats(*.mp3,*.wav,*.avi etc.).
I am using ASP.NET 1.1 for this(Web Application).
i dont know how to resolve the problem.
thanks and regards
Catharin
modified on Monday, February 18, 2008 10:53 PM
|
|
|
|
|
I want some idea from your briliant mind.
My dout as how to insert or update a string value using sql quries.
the string value as Women's Studies
Now use this
Dim mystring as string = "Women's Studies"
MySql = "INSERT into tblName (Dept) values ('" & mystring & "')"
or
MySql = "UPDATE tblName SET Dept='" & mystring & "' where dept='Womens Studies'"
in above quries not working.
How to possible it?
Please give an example.
Thanking you in advance.
abglorie
|
|
|
|
|
What the exception are throwing ?
/***********************/
Parwej Ahamad
g.parwez@gmail.com
/***********************/
|
|
|
|
|
The exception is
Incorrect syntax near 'S'. Unclosed quotation mark before the character string ''.
|
|
|
|
|
Print the variable MySql before you execute them. You will find the error then. Also your code is open for SQL Injection. Read articles about SQL injection and change your query.
|
|
|
|
|
Please give me an example.
|
|
|
|
|
abglorie wrote: Please give me an example.
Example for ?
|
|
|
|
|
abglorie wrote: Dim mystring as string = "Women's Studies"
Replcae "'" to "`" and insert into database.
At retriving from database, Replace "`" into "'"
for example
Dim mystring as string = "Women's Studies"
mystring =mystring.replace("'","`");
MySql = "INSERT into tblName (Dept) values ('" & mystring & "')"
.......
please don't forget to vote on the post that helped you.
|
|
|
|
|
if you use parameterised queries it solves both a) The apostrophe problem and b) the sql injection vulnerability problem.
|
|
|
|