|
But From which event of Datalist Should I call the Javascript?
Because When I Click Search Button Result is display.
Result contains Image and some information.
The images displying by using datalist. datalist contains imagebutton.
Though I write code for javascript.When Should I Call. Because if there are 3 records then on mouse over of that records associated infomation I want to display
Thanks
|
|
|
|
|
Have you resolved the issue or still struggling?
Apurva Kaushal
|
|
|
|
|
when u bound image in datalist then
i think u use for bound the image.
so u should use this code...
give title=Single cote(because single code is not dispalying in this box.)
may be this code will help u......
modified on Tuesday, July 15, 2008 3:49 AM
|
|
|
|
|
Thanks For reply.
I am using ImageButton.
|
|
|
|
|
<asp:ImageButton ID="img" ImageUrl='<%# DataBinder.Eval(Container.DataItem,"Image") %>' title='<%# DataBinder.Eval(Container.DataItem,"Name") %>' runat="server" />
u cange only column name ....]
then it will run......
|
|
|
|
|
Hi friends
I need a help to get a current time of UK from US current time.
Can anybody guide me to solve the above issue
Advance thanks for your help
Thank U
G Nathan
modified on Tuesday, July 15, 2008 2:14 AM
|
|
|
|
|
try this:
http://www.quantumsoftware.com.au/ProductsServices/WorldTimeWebService.aspx
http://www.csharphelp.com/archives2/archive356.html
|
|
|
|
|
hai all,
i am using .net 2005.i am doing my project in asp.net using c#.for my project back end is MS ACCESS 97.
the following code is
com = new OleDbCommand("select HolderNo,HolderName,DepartmentNo,mid(Appsetdata," + bb + ",2),JobTitle from holderdata where DepartmentNo <> '0000'", con);
dr = com.ExecuteReader();
i1 = 0;
while (dr.Read())
{
holno[i1] = dr.GetString(0);
holname[i1] = dr.GetString(1);
dept[i1] = dr.GetString(2);
appset_holder[i1] = Convert.ToInt16(dr.GetString(3));
jobtitle[i1] = dr.GetString(4);
i1++;
}
dr.Close();
in the above code shown the error in jobtitle[i1] = dr.GetString(4);
the following error were display,
System.InvalidCastException: Specified cast is not valid. at System.Data.OleDb.ColumnBinding.ValueString() at System.Data.OleDb.OleDbDataReader.GetString(Int32 ordinal) at _Default.emp_iterate() in c:\Documents and Settings\sabari\My Documents\Visual Studio 2005\Projects\styrisact1\Default.aspx.cs:line 182 at _Default.validate_main() in c:\Documents and Settings\sabari\My Documents\Visual Studio 2005\Projects\styrisact1\Default.aspx.cs:line 126 at _Default.SubmitImageButton_Click(Object sender, ImageClickEventArgs e) in c:\Documents and Settings\sabari\My Documents\Visual Studio 2005\Projects\styrisact1\Default.aspx.cs:line 101
how to solve the above error?thanks to all in advance.
|
|
|
|
|
According to the error text, I think there may be a problem with
appset_holder[i1] = Convert.ToInt16(dr.GetString(3)) this line of code. Maybe the value returning from database is null or empty and you are trying to convert it to Int16. Check the value in DB.
Hope this helps.
|
|
|
|
|
hai all,
i am using .net 2005.i am doing my project in asp.net using c#.for my project back end is MS ACCESS 97.when i pass the vale means the following error were display,
System.InvalidCastException: Specified cast is not valid. at System.Data.OleDb.ColumnBinding.ValueString() at System.Data.OleDb.OleDbDataReader.GetString(Int32 ordinal) at _Default.emp_iterate() in c:\Documents and Settings\sabari\My Documents\Visual Studio 2005\Projects\styrisact1\Default.aspx.cs:line 182 at _Default.validate_main() in c:\Documents and Settings\sabari\My Documents\Visual Studio 2005\Projects\styrisact1\Default.aspx.cs:line 126 at _Default.SubmitImageButton_Click(Object sender, ImageClickEventArgs e) in c:\Documents and Settings\sabari\My Documents\Visual Studio 2005\Projects\styrisact1\Default.aspx.cs:line 101
how to solve the above error?thanks to all in advance.
|
|
|
|
|
|
Hello! Everyone:
There is a problem to deal with :
There is a Button(only for eample) named 'butNew' in the page
I get it in the form of 'control' not 'Button', by its name .
I want to convert this 'control' to its subClass 'Button' in runtime
but I don't want to use such method as '(Button)control '
because I wander a common method , thinking that there may be many
kinds of Controls in a page,besides 'Button'.
Can you help me ??
Thank you!
|
|
|
|
|
Hi all,
I have to display all types of images including flash imges to user.
I could able to display images of all formats except .swf(flash) files
in Image Control of asp.net.
For Displaying .swf(flash)images i used FlashConrol(from FlashControl.dll).
This control is only displayinf images of type .swf, but i want to display all types of images under single control(asp.net control / third party control).
Is it possible ?
If yes!, How?
Please help me.
Thanks in advance.
|
|
|
|
|
hi all,
i use an ajax radgrid and i want to convert it to Excel Sheet, this error appear when i do that,
unexpected ajax response was recived from the server.
this may be caused by one of the follwoing reasons:
- server. transfer
-custom http handler
-incorrect loading of an "Ajaxified" user control.
how can Solve this error??/
thanks all
|
|
|
|
|
Hi,
I am using a Web service beween a Window application running on client and server mechines.The web service uploades the files and images on the server mechine. But i am having problem to find the application path on the server mechine. I used the following code but this returns the path of the web service rather than window application.
System.Reflection.Module[] modules = System.Reflection.Assembly.GetExecutingAssembly().GetModules();
strApplicationPath = System.IO.Path.GetDirectoryName(modules[0].FullyQualifiedName);
I need to find the path of window application through web service.
can anybody help me?
|
|
|
|
|
Hi,
For the time being i have found a solution. i am putting the window application path in the web.config of the webservice. As the application will be installed on the server mechine or the path changes, the web.config of the webservice will be updated. How is the solution.? Is it right appraoch?
Thanks in advance.
|
|
|
|
|
|
Thats awesome... You told us...
|
|
|
|
|
Hi, thanks for looking
Imagine eBay system, the only difference is that i need to alert the seller immediatly when they make a new sale
I need to develop a windows app that is monitoring the web app or somehow alert the pc of the seller about the new sale
I cant use email since im not sure if they are seeing the email, or even if they have an email account. SMS would be to expensive here
I had tought of doing a web service that accepts the ID of the seller and returns the sales for the given ID, and i would call this method from each client computer (seller) every minute or so, but since there could be many clients and also i would like the client to be notified as soon as posible i think this would not be the best approach
Is there any way to use tcplisteners or something like that??
Clients will have static ips, but they could change if disconnected for more than 1 day
Any advices will be appreciated
Thanks in advance
Alexei Rodriguez
|
|
|
|
|
AlexeiXX3 wrote: I had tought of doing a web service that accepts the ID of the seller and returns the sales for the given ID, and i would call this method from each client computer (seller) every minute or so, but since there could be many clients and also i would like the client to be notified as soon as posible i think this would not be the best approach
It seems like an "ActiveX Application". But the Internet Security will restrict if it is not trusted.
|
|
|
|
|
I noticed that several places you can use "~" to start a path for the application root. This does not seem to work for CSS files or for JavaScript files. Is there an inline way to ensure that the path in the browser starts at the root? It seems that there has to be a way for the ~ to be converted to a server name at least on the server then appended to the front of the relative path in the browser.
Thanks,
Leo T. Smith
Program/Analyst Supervisor
|
|
|
|
|
You can use the Page.ResolveUrl method or the Page.ResolveClientUrl method to turn a path containing ~ into a path usable in the browser.
This of course doesn't work for CSS files or Javascript files, as there is no server code in them.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Is any one familiar with nhibernate???
|
|
|
|
|
|
Where you need it for?
If you use it to create reports....you get hurt.
NHibernate is only useful for CRUDS.
|
|
|
|