|
Use the RegisterStartupScript method to add Javascript to the page from code behind.
In framework 1.x Page.RegisterStartupScript, in framework 2.x Page.ClientScript.RegisterStartupSript.
---
b { font-weight: normal; }
|
|
|
|
|
u can call any javascript function from ur code behind i.e vb.net or c# using
Page.RegisterStartupScript("clientScript", ScriptText) method
even u can write ur javascript code for alert using Page.RegisterStartupScript()
like
Page.RegisterStartupScript("clientScript", "function('abc');")
or
Page.RegisterStartupScript("clientScript", "var str; str = 'abc'; alert(str);")
hope it'd help u
Regards,
Rashida
http://www.akaas.net[^]
|
|
|
|
|
i have a camera that takes an image 10 per second
how can i show this images sequantialy to make a vedio representation
from this image collection .
and how can i update this image for all person hwo see my site.
can i ;
thank you
dead
|
|
|
|
|
hello
plz any body can tell me that how can i measure the bandwidth of high downloads
usage in my asp.net application.
thanx
|
|
|
|
|
hello
any body can tell me how can i integrate the PHP Modules
into Asp.Net.
thanx
|
|
|
|
|
How to change the active logging format of IIS log files.
If right now system time is 4pm then while writing Log files it is writing time as 11am.
How to overcome this problem ?
Abhi
|
|
|
|
|
Control Panel > Administrative Tools > Internet Information Services
from there select you website and right click on it select properties and from "Web Site" tab you can change the format of IIS log files for ur web site and u can as well change properties of logging
hope it'd help
Regards,
|
|
|
|
|
I want to set my XAML application output as per screen resolution.How to do that?
|
|
|
|
|
hi! i have created 6 input file server control using java script at client side using following script: ...
function generateRow()
{
var d=document.getElementById('div');
d.innerHTML+="<table><br>";
for(i=0;i<6;++i)
{
d.innerHTML+="<tr><td><input type='File' id='File" + i + "' runat=server /></tr></td><br>";
}
d.innerHTML+="</table>";
}
but now how i find IDs of these file server controls for manupulation on the server whent form is submited?
samir
|
|
|
|
|
The Request.Files collection contains the uploaded files.
---
b { font-weight: normal; }
|
|
|
|
|
Perhaps you should have studied for the test?
---
b { font-weight: normal; }
|
|
|
|
|
plz can u explain me how, iam just confused (it could be a)
Pradeep Reddy
|
|
|
|
|
Your quetion looks like an exam question (for a Microsoft Cerfication course). Guffa was indicating that instead of asking exam questions here you should study for the course.
By the way, A is not the answer.
|
|
|
|
|
I sent A mail With Smtp but in my local it's Ok but in The server i recept This ERROR
The message could not be sent to the SMTP server. The transport error code was 0x800ccc6a. The server response was 451 ESMTP MailEnable Service temporarily refused connection at 09/02/06 11:48:06 from IP (127.0.0.1) because the server is too busy.
Please Answer Me as soon as possible
MHf
|
|
|
|
|
And what is the question?
The error message says that the server is to busy to handle your request.
---
b { font-weight: normal; }
|
|
|
|
|
Why Server Is Busy ?
that i know the server don't Handle Any request
MHF
|
|
|
|
|
What SMTP server are you using?
---
b { font-weight: normal; }
|
|
|
|
|
It solved but i don't change any things
MHF
|
|
|
|
|
hello
can any body tell me how to integarte 2checkout.com payment method with asp.net application.
any one have sample code or any link plz tell me
thanx
|
|
|
|
|
Hi,
I have an header detail type of entry. For the detail part I have an datagrid placed. There is a command button which is used to add a new row on the datagrid. I would like to set the focus on the newly added row's first cell on the button click. Can anyone please help for this?
Ram
|
|
|
|
|
At the time of adding new row, you have the index of that row, find the control in first cell, get its client ID and register a startup script to focus that control...... the the script should be something like ..
RegisterStartupScript("setFocus","document.getElementById('"+ control.ClientID +"').focus();")
-----
|
|
|
|
|
Just a simple question. I've just begun to dig into the whole mempership-feature of ASP.NET, and it's very nice.
When I configure my site for this stuff VS automagically creates a SQL Serve database with user info and lots of other stuff. The user table of course is quite rudimentary so I need to expand it. And that's just what I've done: Expanded the aspnet_Users table with some extra columns I need.
So, my question is this: Is that good form? Is it ok to use the aspnet_Users table like that, or should I build a separate table and build a relationship between the two. What's kosher here?
|
|
|
|
|
I want to implement a sms function which sends customers an sms once their orders have been processed..
How would i go about this?
Thank you
Nothing lasts but nothing is lost
|
|
|
|
|
Send an email to phonenumber@carriersmsdomain.what
T-Mobile: phonenumber@tmomail.net
Virgin Mobile: phonenumber@vmobl.com
Cingular: phonenumber@cingularme.com
Sprint: phonenumber@messaging.sprintpcs.com
Verizon: phonenumber@vtext.com
Nextel: phonenumber@messaging.nextel.com
160 character max and the subject won't show up.
|
|
|
|
|
How to remove the alias name of the web application? of course after removing it from the wwwroot.
thanks in advance.
haitham
|
|
|
|