|
Use "OnChange" Event.
Regards,
Akhilesh Yadav
|
|
|
|
|
Hi ,
Can any body tell how to create a word document which takes content from
.xsl files and has header and footer for all pages...
The front end is asp vb script......
If you fail for the first time , call it version 1.0.
|
|
|
|
|
I have a page with a couple of hiddens that im posting to another page. On the page im posting to, i want to retrieve and print out the values of these posted hidden values using javascript.
Am not sure how to obtain these values using javascript so any help/tips would be appreciated.
thanks in advance
|
|
|
|
|
'using javascript' implies 'not using a server' (for normal $_POST or Server.getPostData or similar)?
perhaps you can try <server>write(request.nameofyourpostedhidden)
but admittedly I never tried it without having access to server...
I like this new way of learning TaiChi...
|
|
|
|
|
If they're in hidden fields, you can use document.getElementById('hidFieldId').value
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Is there any way to upload file without using file upload control ?????
jagmit
|
|
|
|
|
You can use a component, like an ActiveX component or a Java applet, that does the upload.
---
b { font-weight: normal; }
|
|
|
|
|
Try paying for a web site to be hosted.
That sometimes works for me.
|
|
|
|
|
Hi All! I've a problem with displaying caption.For example I've a label(in ASP.net) showing "Please Select Class Name". When the browser window is resized the text moves down i.e Wraps & looks ugly. How to fix this?
Thanks
|
|
|
|
|
Are you using table?
Enclose your label in table row and column,
specify the width of the TD.
If you fail for the first time , call it version 1.0.
|
|
|
|
|
The above solution is correct, but instead of specifying the width of , you can write ; the lines will go on as long as there is no line break.
"The callee (server [not server application]) is not available and disappeared; all connections are invalid.
The call did not execute," said Internet Explorer, when I tried to access a deceased [window] object using JavaScript.
::..:.:..:: KiRtAN GoR ::..:.:..::
|
|
|
|
|
hi guys,
anybody knows how to get request ip address using javascript?
Thanks.
|
|
|
|
|
Try this:
<script>
window . onerror = null;
hostaddress = hostname = "(unknown)";
localhost = java . net . InetAddress . getLocalHost ();
hostaddress = localhost . getHostAddress ();
hostname = localhost . getHostName ();
</script>
<script>
document . writeln ("<p>Your IP address is <b>" + hostaddress + "</b>.</p>");
document . writeln ("<p>Your hostname is <b>" + hostname + "</b>.</p>");
</script>
|
|
|
|
|
Hello,
I need to write a web based controller that can send a hex based message via the serial port. The message out of the port is are expecific messages for the device that we built and thus, is nothing like any internet based messages. I want to create pages with controls on it that will create those messages depending on user inputs and send them out of the serial port.
I have Windows ME and Windows XP platforms. What do I need, software wise, to be able to create such a monster?
Thanks for any help that is provided,
AngeloDusty
|
|
|
|
|
AngelLDiaz wrote: What do I need, software wise, to be able to create such a monster?
For IE it sounds like you need to write an ActiveX control and embed it in the web page(s). I don't know about other browsers.
Is that what you wanted to know?
led mike
|
|
|
|
|
Mike,
Then, I can use ActiveX controls to send messages to the serial port?
Thanks for your help. I guess from the viewpoint of a stand alone PC tied to a device directly via the Serial port, this would work fine but, does the activeX control allow me to have the page at the main server and still control the PC at home via the internet?
Sorry for my lack of experience and knowledge on this area. I have done web pages in the past and was the "Webmaster" for a Corvette car club but I never got deep into all the possibilities in HTML/web.
AngelLDiaz
led mike wrote: AngelLDiaz wrote:
What do I need, software wise, to be able to create such a monster?
For IE it sounds like you need to write an ActiveX control and embed it in the web page(s). I don't know about other browsers.
Is that what you wanted to know?
led mike
AngelLDiaz
|
|
|
|
|
AngelLDiaz wrote: I never got deep into all the possibilities in HTML/web.
Well it is all about "processes" right? I mean the code executes in "a process" right? Whatever machine that process is running on that is where the serial port will be right? ASP runs on the server so you could use the ActiveX control in ASP code to execute on the server machine, or you could use the ActiveX control embedded in HTML to execute in the browser and therefore on whatever machine the browser is running on.
Does that help?
led mike
|
|
|
|
|
Which serial port? The one on the web server, or the one on the computer browsing the page?
---
b { font-weight: normal; }
|
|
|
|
|
Hi People this Hefin i run a Group called Skullzsoftwares where i do freelancing for people needing softwares and Websites
I am facing a problem i have a Client he is not paying me much and so i wanted to finish this project soon.
The only thing left is that i want a Feedback form on this site and it should mail the adin about the feedback i am not using ASP.net for this project so please if anyone can help me with any other scipts accept for ASP.net script
please help me fast mail me at skullzsoftwares@gmail.com
If you need any help and i can help you i will surely
Skullz Softwares
|
|
|
|
|
1. Try to write a subject that has anything to do with the question.
2. Expect answers in the message board, not to an email address. If you are too lazy to check the board, why would anyone bother reply?
What capabilities do you have for running server scripts? ASP? PHP? CGI?
---
b { font-weight: normal; }
|
|
|
|
|
|
Hello to all the smart people,
I'm trying to create a composite control which include nested controls from the great Ajax Dev.
I overcame a lot of issues and can be helpful in some but my latest problem doesn't seem to disappeared.
I can't trigger the ITemplate that i declared (maybe improperly?) to show first a Gif on the progress and afterwords the calculated information from the database.
here are the templates:
the code is as followed:
<br />
[DefaultProperty("Text")]<br />
<br />
[ToolboxData("<{0}:SingleRecControl runat=server></{0}:SingleRecControl>")]<br />
<br />
[AspNetHostingPermission(SecurityAction.Demand, Level = AspNetHostingPermissionLevel.Minimal),<br />
<br />
AspNetHostingPermission(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]<br />
<br />
public class SingleRecControl : CompositeControl <br />
<br />
<br />
<br />
<br />
<br />
{<br />
<br />
<br />
<br />
private ScriptManager sm = new ScriptManager();<br />
<br />
<br />
<br />
UpdateProgress progBar = new UpdateProgress();<br />
<br />
UpdatePanel ratePanel = new UpdatePanel();<br />
<br />
ControlValueTrigger trig = new ControlValueTrigger();<br />
<br />
public Label ItemName = new Label();<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
private Style[] objStyle = new Style[3];<br />
<br />
protected override void CreateChildControls()<br />
<br />
{<br />
<br />
<br />
<br />
base.CreateChildControls();<br />
<br />
Controls.Clear();<br />
<br />
sm.EnablePartialRendering = false;<br />
<br />
sm.EnableViewState = true;<br />
<br />
sm.AppRelativeTemplateSourceDirectory = "~/Default.aspx";<br />
<br />
sm.ID = "cc2";<br />
<br />
sm.EnablePartialRendering = true;<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
btn.Visible = false;<br />
<br />
btn.CommandName = "NEXT";<br />
<br />
btn.ID = "Test";<br />
<br />
btn.UseSubmitBehavior = false;<br />
<br />
btn.Text = "Test";<br />
<br />
<br />
<br />
<br />
objStyle[0] = new Style();<br />
<br />
ItemName = new Label();<br />
<br />
<br />
<br />
ItemName.BorderStyle = objStyle[0].BorderStyle;<br />
<br />
ItemName.BorderWidth = objStyle[0].BorderWidth;<br />
<br />
ItemName.BorderColor = objStyle[0].BorderColor;<br />
<br />
ItemName.Width = objStyle[0].Width;<br />
<br />
ItemName.Height = objStyle[0].Height;<br />
<br />
ItemName.ID = "lblCheck";<br />
<br />
ItemName.Text = "bl";<br />
<br />
ItemName.Visible = true;<br />
<br />
<br />
<br />
this.Controls.Add(ItemName);<br />
<br />
<br />
<br />
<br />
<br />
<br />
progBar.ProgressTemplate = new BarGif("blablablablablabla");<br />
<br />
progBar.ID = "GifBar";<br />
<br />
ratePanel.ContentTemplate = new RemTemp();<br />
<br />
ratePanel.ID = "RatePanel";<br />
<br />
trig.ControlID = this.ID + "_" + ItemName.ID;<br />
<br />
trig.PropertyName = "Text";<br />
<br />
this.ratePanel.Triggers.Add(trig);<br />
<br />
this.Controls.Add(sm);<br />
<br />
this.Controls.Add(progBar);<br />
<br />
this.Controls.Add(ratePanel);<br />
<br />
<br />
<br />
<br />
<br />
}<br />
<br />
protected override void Render(HtmlTextWriter writer)<br />
<br />
{<br />
<br />
base.Render(writer);<br />
<br />
this.Controls.Clear();<br />
<br />
sm.RenderControl(writer);<br />
<br />
<br />
<br />
progBar.RenderControl(writer);<br />
<br />
ratePanel.RenderControl(writer);<br />
<br />
ItemName.RenderControl(writer);<br />
<br />
}<br />
<br />
<br />
<br />
public class BarGif : TemplateControl, ITemplate<br />
<br />
{<br />
<br />
private string _barPic;<br />
<br />
public BarGif(string template)<br />
<br />
{<br />
<br />
this._barPic = template;<br />
<br />
}<br />
<br />
public void InstantiateIn(Control container)<br />
<br />
{<br />
<br />
LiteralControl lc = new LiteralControl("<img src=&quat;"+this._barPic+"&quat;/>");<br />
<br />
container.Controls.Add(lc);<br />
<br />
}}<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
public class RemTemp : SingleRecControl, ITemplate<br />
<br />
{<br />
<br />
public event System.EventHandler ProssFinished;<br />
<br />
private SophiaClass.DemoDbAcc dbAcc=new DemoDbAcc();<br />
<br />
private DataTable itemRateTable=new DataTable();<br />
<br />
public string userNam = "31";<br />
<br />
public RemTemp()<br />
<br />
{<br />
<br />
RecomTableBuilder();<br />
<br />
<br />
<br />
}<br />
<br />
<br />
<br />
<br />
<br />
protected void RecomTableBuilder()<br />
<br />
{<br />
<br />
<br />
dbAcc = new DemoDbAcc();<br />
<br />
itemRateTable = dbAcc.GetRateTable(int.Parse(userNam));<br />
<br />
if (!this.DesignMode) Thread.Sleep(4000);<br />
<br />
<br />
<br />
ItemName.Text = recItem.ItemName;<br />
<br />
ItemDesc.Text = recItem.ItemDescript;<br />
<br />
ItemPhoto.ImageUrl = recItem.ItemPhotoPath;<br />
<br />
}<br />
<br />
private Items MakeArrRec(DataTable table, int index)<br />
<br />
{<br />
<br />
recItem = new Items();<br />
<br />
recItem.ItemID = table.Rows[index]["id"].ToString();<br />
<br />
recItem.ItemName = table.Rows[index]["itemname"].ToString();<br />
<br />
recItem.ItemDescript = table.Rows[index]["itemDesc"].ToString();<br />
<br />
recItem.ItemPhotoPath = table.Rows[index]["itemPhotoPath"].ToString();<br />
<br />
return recItem;<br />
<br />
}<br />
<br />
}}<br />
can someone please help me?
please advise.......
i feel so lucky to have someone to share my troubles
Lior
|
|
|
|
|
Hi all,
I am creating an dynamic page , in that page there will be 3 (for example) div layers, each layer has it's contents such as calender, link, news likw this. The admin of this site can change the menu(Div layer) order, assume that Calender is place 1 and Link in place 2 and News in place 3, if the admin drag the div layer 3(News) over the div layer 1(calender) and drop there means, the oreder should changed as News is place 1 and Calender in place 2 and Links in place. I found solution for drag and drop, but i cant able to get an idea for the dragover or replacing the position. Plz can any one suggest me to how to do this using javascript??
Example:
Positon 1:
Calender
Positon 2:
Link
Positon 3:
News
After drag and drop of News on the Calender position the apperance should become like this:
Example:
Positon 1:
News
Positon 2:
Calender
Positon 3:
Link
Thanks in advance
Bye
Know is Drop, Unknown is Ocean
|
|
|
|
|
|
Anyone can suggest any decent web traffic tracking? Thanks
<italic>Work hard, Work effectively.
|
|
|
|