|
Do you want to write the PDF or just open the already existed PDF file?
suchita
|
|
|
|
|
I think he wants to open the generated PDF file.
|
|
|
|
|
Ok I have Googled to death and found a lot of this type error but no solutions that work.
An error occurred during local report processing.
The report definition for report 'C:\inetpub\PriceTags\PrintAll.rdlc' has not been specified
Could not find file 'C:\inetpub\PriceTags\PrintAll.rdlc'
My app was working fine until I moved to the live webserver and live sql server. Now the report 'C:\inetpub\PriceTags\PrintAll.rdlc' is 100% for sure sitting exactly where it says it isn't..
everything else on my app is working fine on live except for this report. For the life of me I cant figure out why its telling me it cant find the file when I can see the file sitting right there on the web server with the other files. (I have 100% access to the web server as it is hosted inhouse.)
any ideas where to go from here?
VS 2010 Ultimate
ASP.net 4.0
SQL server 2008R2
webserver is on windows server 2008R2
the report is an embedded rdlc file using the basic VS stuff. not crystal reports.
The error is in reportviewer when I try to view it using a browser bouncing off the webserver. Running localhost out of VS it works perfectly fine.
edit:
the above error is when using the browser on the web server
the below error is when using a remote browser NOT on the webserver
An error has occurred during report processing.
The type specified in the TypeName property of ObjectDataSource 'ObjectDataSource1' could not be found.
EDIT:
Not sure why or what the problem was. But when I rebuilt the reports(identical to the old one) after changing my connection strings to the live database. it worked fine.
so old report ran fine on localhost, changed connections and my dataset to live db(exact copy of my local one) everything worked fine but the reports. deleted them and rebuilt exactly as old.. and they work...
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning.
modified on Wednesday, April 13, 2011 10:07 AM
|
|
|
|
|
I know there are articles probably on this but for some reason I'm coming up blank on google and CP. Either my question formating skills are lacking today or the ether dont like me.
I need to export a report in my asp.net app by clicking a button. I do not want to show the reportviewer just bring up the "save as" you would get if you exported from reportviewer. Does somebody have a handy link to article or tutorial on this? Yeah I wont duck when you throw something at me either, as I said I'm having a brain fart Monday today.
edit: not Crystal reports, just the basic MS built into asp.net
edit 2: ok found what I needed. Told ya my brain wasn't working.
better?
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning.
modified on Wednesday, April 13, 2011 9:56 AM
|
|
|
|
|
Hi, Fix the URL for that msdn link.
|
|
|
|
|
User connect "A.page" and "B popup windows" was showed to user.
And after pop up "B windwos", all windows size is same "B Windwos".
How can i delete from saving "B windows size" from client computer?
Summary:
After pop up some windows.
If user click IE, IE size is same popup windwos.
And I don't want to this.
hi
My english is a little.
anyway, nice to meet you~~
and give me your advice anytime~
|
|
|
|
|
You can provide the windows size when you open the popop window from parent page.
Also you can open the window in maximized more. I am not sure how to delete such history!!
|
|
|
|
|
Hello I have 3 Check Boxes on my ASP.NET Page. and i Have 3 Text Boxes for these Check Boxes.
Task.. i want to activate the Text Boxes when each respective Check Box is click.
I am able to do it.. but the issue is.. when i Check the second Check Box the Pervious Text Box gets disabled, even though the previous CheckBox is Selected. Same is happening for the third one. When the Third CheckBox i select both the previous TextBoxes gets disabled eventhough the checkboxes are checked. How i can make them work togethor. Like if the user checks the first checkbox write some thing on the text box and then checks the second check box writes some thing on its text box, at this point checkBox (one) TextBox should stay enabled.
Thanks Help will be appreciated.
sample code .. same code is for all the check boxes.. i think since the autopost back is true when i check the second checkbox page reloads and textbox1 (for CheckBox1) gets disabled.. how to stop it ?
I am using AutoPost Back true
CheckBox Checked Event (...)
{
if(CheckBox1.Checked)
{
textbox1.enabled=true;
}
|
|
|
|
|
Use javascript for checkbox checking and fire that js for each event of the click event of particular checkbox. There will be lot of code available in google for checking the checkbox click.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
use switch case and handle the checkbox checked event
One person's data is another person's program.
--J.Walia
|
|
|
|
|
is it a checkbox list? or three seperate checkboxes?
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning.
|
|
|
|
|
guys;
asp:linkbutton is rendered as
<a href="javascript:__doPostback(...);" />
so, the href is the postback event reference of the link button.
how to find the postback event reference for the asp:button
Help people,so poeple can help you.
|
|
|
|
|
Firstly, see here[^]. I Googled for "ASP.NET LinkButton". This is the MSDN reference for the ASP.NET LinkButton - you should always check Google/MSDN before asking questions.
The __doPostBack function[^] is an ASP.NET generated JavaScript function that causes a postback to the controlling Page class. The function is called like this:
__doPostBack('ControlUniqueID', 'params');
For future reference Google is your friend[^] - please search there before asking questions on any forum, you will receive a better response if your question is very specific and not so easy to find an answer for. For ASP.NET specifically, the MSDN library[^] is also a very useful resource.
|
|
|
|
|
Ok,Sir; google is my friend.
you know what, i am already aware about __doPostBack() but i was confused because an asp:button is renderd as
<input type="submit" id="#ClientID#" name="#UniqueID#" value="#Text#" />
and what i kow about rendering postback controls is to add the postback reference to the client event just like
on AddAttribtesToRender
writer.AddAttribute("ClientEvent" , Page.GetPostBackEventReference(...));
100
Help people,so poeple can help you.
|
|
|
|
|
Sir, I think you would like to see this : 'Confirm Message Box[^]'
Help people,so poeple can help you.
|
|
|
|
|
That's a cool trick, but I'm not sure how that relates to your question?
Oh, and nice article! I think there may be a few translation errors in there, would you like me to help you with that?
Typical n-tiered architecture:
DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty
|
|
|
|
|
look at the last code block (after else), does it what you told me?
Help people,so poeple can help you.
|
|
|
|
|
Ah cool, yes, glad I could help! Very nice article
Typical n-tiered architecture:
DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty
|
|
|
|
|
guys;
I need to string.Format to add a formated javascript code, just like:
string.Format("javascript:if (!{0}) { alert('Hello !!'); return false;}", condition);
Help people,so poeple can help you.
|
|
|
|
|
You can use double curly brackets:
string.Format("javascript:if (!{0}) {{ alert('Hello !!'); return false;}}", condition);
|
|
|
|
|
thanks; Ma'am.
100
Help people,so poeple can help you.
|
|
|
|
|
|
Ma'am, I think you would like to see this : 'Confirm Message Box[^]'
Help people,so poeple can help you.
|
|
|
|
|
ok bsic problem is this. I have 3 gridviews nested. parent-child-grandchild. Works great except for one issue, The grandchild takes its parameter from the child with no problem but I also need to get the parameter from the parent to the grandchild.
ie... Parent shows group name, child shows brand names under the groups, and the grandchild should show models under brand/group. All I'm getting is the models under brand, its not considering which group the brand is in.
The brand can be in multiple groups and the model will only be in one brand AND one group. However I want to show the models(grandchild view) under each brand BASED on which group it is attached to.
so..
Parent shows groups A B C
child shows brand 1 under A B C
grandchild should show model xx under brand 1/group A , model ss under brand1/group B and so on. but I'm getting model xx under brand 1/A B C and model ss under brand 1/group A B C
This is the code I'm using to get what I have so far.
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
SqlDataSource s = (SqlDataSource)e.Row.FindControl("SqlDataSource2");
s.SelectParameters[0].DefaultValue = e.Row.Cells[0].Text;
}
}
protected void GridView2_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
SqlDataSource s = (SqlDataSource)e.Row.FindControl("SqlDataSource3");
s.SelectParameters[0].DefaultValue = e.Row.Cells[0].Text;
}
}
how can I tweak this to pass e.Row.Cells[0].Text; from gridview1 not only to gridview2(SqlDataSource2) but also to gridview3(SqlDataSource3)?
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning.
|
|
|
|
|
Below code is html.
and i can see swf video when i copy to html.
But receiver can't see video and just see text code in outlook.
I heard that outlook support html code and receiver can see swf video.
please Let me know.
<table>
<tr>
<td>
<EMBED height=236 type=application/x-shockwave-flash width=420 src=http:
</td>
</tr>
<tr>
<td>
<br/>
<span style='font-weight:bold; font-size:10pt; color:red;'>
Can<br/>
Do.</span>
<br/><br/>
<span style='font-weight:bold; font-size:11pt; color:blue;'>
If I can dream, I can act<br/>
and if I can become.<br/></span>
<br>
<span style='font-weight:bold; font-size:11pt; color:green;'>
</span>
</td>
</tr>
</table>
hi
My english is a little.
anyway, nice to meet you~~
and give me your advice anytime~
|
|
|
|