|
You can't. ASP.NET has nothing to do with PDFs. You CAN use a .NET PDF library to create PDFs within an ASP.NET project, however.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
HI thx for reply
Yes i added a PDF Lib. to Ref
But it is working in local system only. Not in FTP
(I want to create a stand alone ASP.NET page for PDF file creation )
THAX
Keerthi
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
You can't create PDFs on the clint end, you can just write them on the server and send them to the client.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
My req.Ment is i want to display data from DB in PDF file
And the user will save as the pdf file
Thx
Keerthi
|
|
|
|
|
I am using JavaScript with ASP, when user sign in successful i want to javascript alert message "Sign in successful" only one time whenever user refresh page or something else I don't want to show message, please help me
Regard
Socheat
................
|
|
|
|
|
some we emit javascript from the codebehind like
Page.ClientScript.RegisterStartupScript(typeof(Page), "strScript", sScript);
so please tell me can i emit javascript by the above syntax whenever we will be working with update panel.
if not or if the syntax is different then please tell me the steps in detail with a sample code.
tbhattacharjee
|
|
|
|
|
The most annoying thing about you posting five questions in rapid succession, is that you only really asked three.
ATLAS does do a full page postback, but I don't think it's going to import client script, as it's not rendering the whole page.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
suppose i want to call my function Test() like
function Test()
{
alert("hello");
}
tbhattacharjee
|
|
|
|
|
One good way is to not use ATLAS, and write your own AJAX script.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
in asp.net 2.0 i have one master page and one content page.in my content page there is a datagrid not gridview.my logic is writtent over there
like whenever user will click on a button then i will fetch value from the texboxes placed in footer of the datagrid.
my code was
protected void btnSave_Click(object sender, EventArgs e)
{
for (i = 0; i <= dgList.Items.Count - 1; i++)
{
if (dgList.Items[i].ItemType = ListItemType.Footer)
{
string sUnit = ((TextBox)dgList.Items[i].FindControl("txtUnit")).Text.Trim();
}
}
}
but the problem is my iteration does not get into footer means if (dgList.Items[i].ItemType = ListItemType.Footer) this line never becomes true.
i always get the success whenever i used to do it in asp.net 1.1.but it is not working in asp.net 2.0.so please tell me what is wrong in my code.
so please tell me how could i do this in asp.net 2.0. please rectify my error if there is any and give me a sample code.
tbhattacharjee
|
|
|
|
|
Tridip Bhattacharjee wrote: if (dgList.Items[i].ItemType = ListItemType.Footer)
You should use the item data bound event to find the footer.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
suppose i have one master page and one content page.whenever i am trying to capture a control of a content page from content page
at that time i getting error like object reference is not found.how could i fix this error.
tbhattacharjee
|
|
|
|
|
How does this differ from qustion 1 ?
You need to use findcontrol recursively, there is no guarentee that a control will be on the top level. You fix that error by not writing code that assumes the search succeeds.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
are you searching for the control within the page? if so try searching for it within your content panel or whatever holder you're using for it such as
mycontentpanel.controls.item(0).findcontrol(mycontrol).
|
|
|
|
|
please give me small sample code by which i can find or capture a control of a content page from master page.
tbhattacharjee
|
|
|
|
|
If a control is always in the content, perhaps it belongs in the master page ?
this.Page.FindControl()
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi
i have made some of my columns in gridview invisible and now when i update my gridview the invisible column values are set to null
how can i update the gridview having invisible columns
madhu
|
|
|
|
|
You have to make that column visible before u r binding grid.After binding again u can make that column invisible.
Ex
GridEdit.DataSource = ds_projectSelect;
GridEdit.Columns[0].Visible = true;
GridEdit.DataBind();
GridEdit.Columns[0].Visible = false ;
hope that this will help u.
|
|
|
|
|
Hi,
Can I use <% = and %> tags to insert ASP.NET code snippets into my HTML? If yes? why doesn't the following code work?
<asp:RadioButton id="<% = r[i]["ID"].ToString() %>" runat="server" />
Also, if I use something like:
<asp:RadioButton id="SomeID" value="<% = r[i]["Value"].ToString() %>" runat="server" />
Any Ideas?
- A programmer's national anthem; "AAAAAHHHHH!!!!"
|
|
|
|
|
signbit wrote: Can I use <% = and %> tags to insert ASP.NET code snippets into my HTML?
Yes...
signbit wrote: <asp:radiobutton id="<% = r[i][" id"].tostring()="" %="">" runat="server" />
But what is r in your code?
<< >>
|
|
|
|
|
Try this:
<%String val=r[i]["ID"].ToString();>
<asp:RadioButton id="SomeID" value="<%=val%>' runat="server" />
If this does not work, use double quotes instead on single quotes.
r must be a public member.
Regards,
Arun Kumar.A
|
|
|
|
|
hi i been seeing web site which whent he user clicked edit on a perticular item another browser appear wit textbox for user to change the data of the the item they click edit and whent he update button is clicked the main browser would refresh itself
i would like to ask how is this done?
what method izzit using
is this possible with asp.net2?
|
|
|
|
|
Just view html code to see how it is done...
neodeaths wrote: is this possible with asp.net2?
Yes...
<< >>
|
|
|
|
|
in asp.net2 we use redirect to redirect the current page to the desired one
how can i make a new browser pop up?
also what code in my sub browser am i to put to make the main browser refresh?
|
|
|
|
|
neodeaths wrote: how can i make a new browser pop up?
using window.open(...) method to open up new window
neodeaths wrote: what code in my sub browser am i to put to make the main browser refresh?
try this window.opener.location.reload(); ..let me know if it works or not
<< >>
|
|
|
|