|
Hi,
I have a simple application which generates Excel reports. I use Response.BinaryWrite() to write whatever excel content i have to the client (client is prompted to save). I need to change some status message on my webpage after the excel generation process. However, this cannot be done since Response.Binary just flushes the excel file to the client and that's it.. Can someone plz suggest a way i could get the status changed prior the excel generation process plz?
Thank you
Carpe diem,
Krg
|
|
|
|
|
try write some client-side script in response to clientclick event
SkyWalker
|
|
|
|
|
Hi
I have created a sqldatasource with connection string details in and select statement
I want the select statement to work off two variables which would be declared like so
<selectparameters>
<asp:sessionparameter name="SSID" sessionfield="SSID" type="String">
How would i carry a session over from a previous page and put it in the code above?
thanks
|
|
|
|
|
hello
i am using asp.net 2.0 with c#.
in that i want to use treeview control.
i want to add nodes and when click on node that time navigate page will open.which is display beside of treeview.
pls help me
its really urgent
gayatri
|
|
|
|
|
string js = "<script language='javascript'>alert(ok);</script>";<br />
Page.RegisterStartupScript("js", js);
The above code is not displaying any error.and not even displaying the messagebox.
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
Sonia Gupta wrote: Page.RegisterStartupScript("js", js);
<br />
string js = "alert(ok);";<br />
Page.ClientScript.RegisterStartupScript(this.GetType(),"key",js,true);<br />
<br />
or<br />
<br />
string js = "<script language="javascript">alert(ok);</script>";<br />
Page.ClientScript.RegisterStartupScript(this.GetType(),"key",js);
please don't forget to vote on the post that helped you.
|
|
|
|
|
<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
/***********************/
|
|
|
|