|
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0103: The name 'Eval' does not exist in the class or namespace 'ASP.Rough_Images_aspx'
Source Error:
Line 32: <asp:templatecolumn headertext="Image">
Line 33: <itemtemplate>
Line 34: <asp:image id="img" runat="server" imageurl="<%# Eval("ImageURL")%>">
Line 35:
Line 36:
|
|
|
|
|
Are you using 1.1?
try this now
<img src=<%# Databinder.Eval(Container.DataItem,"ImageURL")%>
best regard
pathan
please don't forget to vote on the post that helped you.
|
|
|
|
|
Thnx a lot friend it's rocking ..............
Have a gud luck always...........
Bye
|
|
|
|
|
So, you set up a column in your grid that renders img tags with paths to the images.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Yes i've taken a column in my grid but how to set the image url to that column i'm not getting
-------------------------
|
|
|
|
|
It's incredibly simple. Your column template is an img tag, and the source is the path to your image. The other reply you got showed you the code.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
I have sub menu's in my web application and if i click on submenu's it should be redirected to some other website, which should be opened in seperate window.
Thank you.
|
|
|
|
|
|
Sorry...That link is not opened.
|
|
|
|
|
Add target="_blank" in Htmlanchortag control
bEST rEGARD
pATHAN
please don't forget to vote on the post that helped you.
|
|
|
|
|
i am using skmmenu control and i binded it with xml file. so, i dont have any HTMl anchor tags.
|
|
|
|
|
You open an another window by your code and give the url of ur sub menu............
|
|
|
|
|
hai guys...
i have a web application to show a pdf document, i want whenever people open the site n open the document, they just can see the document n can't save the document..
i have protected the web with no permission from pdf tools...but in the client side still can save the pdf document...
i don't know how to protect the pdf document from save a copy tool in pdf..
Guys..do u have suggestion or solution how to solve my problem?
Or is there any kind of protection from the server site?
Thanx 4 ur attention...
Best regard,
Kimi_dezz
|
|
|
|
|
You know that the file is already on the hard disk (temporary internet files) of the user when he/she opens the pdf?
Therefore this would be just a dummy user protection But maybe this is enough for your scenario.
-^-^-^-^-^-
no risk no funk ................... please vote ------>
|
|
|
|
|
ooh..if that so, is there any tool beside pdf to open document but the document still open in server side, so there are not document which client side can't save the document?
Or do u have any suggestions for me to protect my document so that no permission to save, print, and just open.
Thank u for ur answer Urs Enzler .
|
|
|
|
|
Hi,
I have an image button in a web application. When i click on this image button, it should be redirected to other website. I am able to do that, but i want that website to be opened in seperate window.
Thank you.
-- modified at 4:29 Monday 8th October, 2007
|
|
|
|
|
Add target="_blank" in the form tag.
---
single minded; short sighted; long gone;
|
|
|
|
|
|
I have sub menu's and even if i click on submenu's it should be redirected to some other website, which should be opened in seperate window.
Thank you
|
|
|
|
|
A "submenu" is something specific to your implementation, so that doesn't tell me what it is. What makes your items that are submenus different from those that aren't?
---
single minded; short sighted; long gone;
|
|
|
|
|
hello everyone
I am using a jscript calender for pick up multi dates in text box.
my text box value is such as 27-02-2007,23-08-2007
now I split that dates in to a array
now i want to convert the above date in format mm/dd/yyyy
give me some suggestion.
thanks in advance
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
Well, it seems to me that yuo need to modify your javascript calendar to use US dates. Not sure what else you're looking for, really...
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Try this:
var arr_date = strDate.split('-');
if (arr_date.length != 3)
{
}
else
{
if(arr_date[0]>=1 && arr_date[0]<=9)
arr_date[0] = 0 + arr_date[0];
if(arr_date[1]>=1 && arr_date[1]<=9)
arr_date[1] = 0 + arr_date[1];
}
strDate = arr_date[0]+'/'+arr_date[1]+'/'+arr_date[2];
This code is to convert the date in and month in 2 digits ie: if ur date is 2/3/2007 then it will convert to 02/03/2007.
Put alerts and make changes to array index.
Hope this helps u...
|
|
|
|
|
In my application if session is expired then application redirects to login page...
if the user enters the correct credential then the previous page(the page during session timeout) should be displayed . is it possible..............
|
|
|
|
|
The URL of the originally requested file is stored in the ReturnURL key of the query string. Add the following in the Login page after authenticating the user.
If Not Request.QueryString("ReturnURL") Is Nothing Then
Response.Redirect(Request.QueryString("ReturnURL"))
End If
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|