|
Hi,
This is a crosspost from the ASP .NET forum (I don't know which is the best for my question), sorry for that.
So I have two questions about javascript (not to do webdevelopment, but as embedded script language for an application):
Here[^]
and
Here[^]
Thanks !
~RaGE();
|
|
|
|
|
I have used marquee to scroll Photo.
The problem is, after the loop is completed and start
another loop.there is a space between to loop.
i want to remove space between two loops and
continue display photo e.g . after the last photo
scroll then immediate display first photo in marquee.
if anyone know please help me.
h v dhola
|
|
|
|
|
I have used maquee to scroll list of photo.
The problem is,there is a space between photo on each loop.
I want to remove space from the loop. and continuous disply photo.
If anybody know please help me.
H V Dhola
|
|
|
|
|
|
You could also try using the align attrb. Not sure if that will work, but It work for me with a small gallery I created. Also maybe even a small table with no padding. Not sure exactly what your tring to accomplish.
|
|
|
|
|
Hi,
I'm writing a Web Credit Card application that will be used in small retail stores. Normally when the credit card is approved the transaction is automatically printed on the printer for the customer to sign.
I'm not sure if this should be designed the same way for the web. There are multiple choices and I'm not sure which is best approach to take.
I can:
1. Automatically print a receipt on the default printer
2. Automatically print the receipt, giving the user a dialog to select the printer
3. Display the receipt in HTML in a pop-up window and the user will click a print button
Which method do you think is the best?
Thank you,
Glenn
|
|
|
|
|
|
Hi,
I have written some C# code that appears to be working, but as I write this message, I can see that it won't. In the catch routine the ToString will give an exception if the session has timed out.
What I am doing is obtaining a bunch of information about a user at login time and storing the information in session variables. In other C# web screen I reference the variables, but I'm unsure the proper way to determine if the session has timed out.
Here's what I have got, but I think it would be better to set up something that captures timeouts and redirects them, but i'm not sure how other than this.
<br />
try<br />
{<br />
dblSaleLimit = Convert.ToDouble(Session["SALELIMIT"].ToString( ));<br />
}<br />
<br />
catch(Exception e)<br />
{<br />
if (Session["ID"].ToString() == "")<br />
{<br />
Response.Redirect("Timeout.aspx");<br />
return;<br />
}<br />
<br />
String = e.ToString() + 0x0d + 0x0d + " Message: " + e.Message + 0x0d + " Stack Trace: " + e.StackTrace;<br />
efResponse.Text = String;<br />
<br />
args.IsValid = true;<br />
return;<br />
}<br />
Thoughts are appreciated....
Thank you,
Glenn
|
|
|
|
|
You can capture this in OnSessionEnd event in Global.asax...
<< >>
|
|
|
|
|
|
I created a user control in C# that I'd like to display in IE. I also did create a virtual directory on my local host. It works fine on one machine, but I can't get the control to show up on 3 other machines. They just show a placeholder box for the control.
Here is html that I am using:
<object id="MyUserCtrl"
classid="http://localhost/MyCtrl/MyCtrl.dll#MyCtrl.UserControl1" height="500" width="500" viewastext="">
I think this might have something to do with my IIS settings?
Please help.
|
|
|
|
|
For starters, localhost won't be the right machine on any machine but your own.
----
Bots don't know when people die.
--Paul Watson, RIP
|
|
|
|
|
yes, I am running this on my local machine for now
|
|
|
|
|
Right. But that URL is evaluated by the browser, not the server - so for it to have a chance of working on any machine but the server (your machine) itself, you'll need to use the actual network name of your machine, not localhost .
----
Bots don't know when people die.
--Paul Watson, RIP
|
|
|
|
|
but I can't even get it to show up on the same machine in 3 cases out of 4.
and I configured the virtual directories the same on all of them
|
|
|
|
|
hi ,
I am facing a problem in my ASP.Net project. The scenario is something like this.....
I have a radio button list (web control) and say few text boxes(say TB1, TB2 ..etc) and buttons .......When I select a particular radio button from the list, TB1 and Button1 should be enabled. I want to give this on client side...I have used C# for serverside scripting......
What I did was , I wrote a javascript function and that function should be called when selected index changes....something like this
<asp:radiobuttonlist id="rblistmain" onselectedindexchanged="fun1" runat="server">
<asp:listitem> A
<asp:listitem> B
I then wrote the fun1 in > tag.
But I get error when I execute it - that the function was not found....
Can some one tell me what's going wrong?
I dont want to give autopostback as true coz I want the things to happen at client side
Thanks,
Deeps
|
|
|
|
|
|
no actually if autopostback is enabled, it will use only serverside function. and even if its not enabled, it will by pass the client side-- thisi is what i found in one of the books. Also Chandana suggested to use html controls instead but then these html controls i ll not be able to refer them in my code behind class. I dont understand what to do. Can anyone help
Thanks,
Deeps
|
|
|
|
|
hi
i have a html file and want parse it ,which find all of tag in the file
this parser should to diagnosis the text is like tag of html.
please help me.
thanks.
Just C#
|
|
|
|
|
Is it XHTML ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
|
|
|
I assume that you mean the number of characters in the options that are displayed in the select box.
Loop through the options collection of the select box and add upp the length of the text property for each option.
---
b { font-weight: normal; }
|
|
|
|
|