|
The $find method would have worked if you prefaced it with 'top.'
This worked for me:
<big>top</big>.$find('<%=TabContainer1.ClientID%>').set_activeTabIndex(3);
|
|
|
|
|
Could any body tell me what does $find do?? and why it returns unidentified object to a control that exists??:S
|
|
|
|
|
|
still i didnot understand it i read the blog.
|
|
|
|
|
|
the one you sent is by far the most explainable blog i found but still doesnt both functions get the the control by ID
|
|
|
|
|
Hi..
In my web application(asp.net/c#),I have RDLC report with few charts on it and want to display the report on reportviewer at runtime.
following is my code.
ReportViewer1.ProcessingMode = ProcessingMode.Local;
ReportViewer1.LocalReport.ReportEmbeddedResource = Server.MapPath("Graphs//GraphsAll.rdlc");
ReportDataSource ds1 = new ReportDataSource();
ds1.Name = "Graphs_SelectAll_DataTable1";
ds1.Value = ds.Tables[0];
ReportViewer1.LocalReport.DataSources.Add(ds1);
ReportViewer1.LocalReport.Refresh();
ReportViewer1.Visible = true;
I am getting following error
"An error occurred during local report processing.
The report definition for report 'D:\Hemant\UI\UI\User\Graphs\GraphsAll.rdlc' has not been specified"
could u tell me what's going on...
thanks
hemant
By:
Hemant Thaker
modified on Wednesday, July 29, 2009 5:28 AM
|
|
|
|
|
Hi!!!
I am trying to display image from C and D drive using following code. The code is very simple. Here it is:
protected void Page_Load(object sender, EventArgs e)
{
Response.Write ("<table border='1'>");
Response.Write ("<tr>");
Response.Write ("<td><img src='D:\at.jpg'></td>");
Response.Write ("<td><img src='C:\try.jpg'></td>") ;
Response.Write ("</tr>" );
Response.Write("</table>");
}
I neither get image on page nor error message. How could i resolve it?Please guide me...
|
|
|
|
|
Hi,
this won't work since the client doesn't know anything about files on the servers disk. What you have to do is to put an URL into the src-tag (e.g. http://myserver.com/images/at.jpg). I suggest to create an image folder within your ASP.NET Website (name it images), then add all images you want to display to this folder and replace the value in the img-src tag with 'images/at.jpg' or 'images/try.jpg'.
Let me know if this helps you.
Regards
Sebastian
|
|
|
|
|
yeah offcourse it worked...
Thankyou for helping me...
|
|
|
|
|
I assign image path to some string variable like this:
string path = "C:\at.jpg";
and apply this:
protected void Page_Load(object sender, EventArgs e)
{
Response.Write(@"<table border='1'>");
Response.Write(@"<tr>");
Response.Write(@"<td><img src=path></td>");
Response.Write(@"<td><img src='D:\try.jpg'></td>");
Response.Write(@"</tr>");
Response.Write(@"</table>");
}
Then it does not display image neither it shows any error message. Why so?Please help..
|
|
|
|
|
As i mentioned in the post before do the following:
1. create a folder called images in your Application folder (where your website is)
2. copy the try.jpg to this folder
3. rewrite your code to this:
Reponse.Write(@"<td><img src='images\try.jpg'></td>");
The browser (client side) does not provide an error when it couldn't find the image file.
|
|
|
|
|
I understood your point, did the same and got the accurate results too..
but now i want to assign that image path to some variable and then want to assign that variable to src..as i said in my last message...
Guide me for this please!!!
|
|
|
|
|
Well than just do that:
<br />
string sImage = "images/try.jpg";<br />
...<br />
...<br />
Response.Write(@"<td><img src='" + sImage + "'></td>");<br />
|
|
|
|
|
|
Semartens!!
I want to vote your answer..How can i do that?
|
|
|
|
|
When you view my response, click at one of the numbers at the bottom right side of the message (labeled with "Rate this message") (1 is bad, 5 is good)
Thanks for voting This will mark your message as answered.
Regards
Sebastian
|
|
|
|
|
hello,
i'm dealing with a primitive http server that doesn't support client-side javascript.
my question is why does it have to support it? i am using internet explorer browser,
the browser does support js. why does the server have to support client-side javascript?
thank you,
|
|
|
|
|
Makes no sense. You mean your web server dont process client scripts. Javascripts are totally processed by the client.
The thing that you have to do, is just to download the js file to the client. Check the extensions associated with the web server.
Also if possible, let us know which server you are using?
|
|
|
|
|
hello,
thanks for answering.
you realy helped me. it was my problem and i thought it is the server's.
what about css? is it the same?! the server has to support it?
thanks again,
|
|
|
|
|
Yes .. Same buddy..
Just see if the extension css is blocked to the server or not. If it is not, css will load just like the JS.
|
|
|
|
|
as long as your pages have been coded correctly and the sever is meant to send js to files to the client it should work. Servers don't really "support" javascript. they send the files. and if they are not doing that then it's probably a security setting or server-side rule for javascript docs.
Javascript runs entirely client side. it can make requests for pages (http request), but that's just about it in terms of client-server interaction.
Like the other poster said; What server are you using???
|
|
|
|
|
maybe the web server only allow to download certain document.
in particular, maybe it DOESN'T allow to download .js file?
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|
|
Are you sure its not Java? I always thought jscript runs soley on the users computer.
|
|
|
|
|
I have integrated auto-suggest(using actb.js) within our application Uhuroo (Uhuroo is a web application that provides a smart and secure way of collaborating on documents with distributed teams).
The problem that we face is, suppose the auto-suggest may match 10 items and if we show just 5 at a time, it will show "\/ (5 more)"... Can I replace "\/"(combination of back slash and fore slash) with a nice image?
Thanks
|
|
|
|