|
Normally, the new process spawned from the ASP.NET application does not run with the impersonated account. You can read the Microsoft KB[^] for more info and options.
|
|
|
|
|
That's exactly what I'm after - thanks a lot minhpc_bk!!
|
|
|
|
|
Hi friends ,
I am entering some values , in the datagrid , throudh it's text boxes and saving it in the database , i want that added data in the dropdownlist of another .aspx page.
pls ,guide me.
Thanking you ,
Param
param
|
|
|
|
|
use to store value in cookie and use it another page
|
|
|
|
|
Hi,
i have textbox which should accept input in the format XXX-XXX where X=1 to 0.Else it should give a alert message prompting that the input is invalid.
thanx in advance,
zari
|
|
|
|
|
Use two validators, a RequiredFieldValidator and RegularExpressionValidator. Bind both validators to your control (ControlToValidate property) and in the RegExp validator, enter the correct regular expression for your string pattern in the ValidationExpression property.
Your regular expression should look something like this :
^[0-1][0-1][0-1]\-[0-1][0-1][0-1]$
but I don't know if i'm correct there...
|
|
|
|
|
is there any javascripts dat suit my issue? if so hope it mite b more flexible than the use of validators.
zari
|
|
|
|
|
MS implemented a custom validator, I won't worry about flexibility, I think those guys at MS really thought it through, but ofcourse you can create your own script if you want to, but I don't think it's worth the effort. Your script will be a custom javascript since you cannot create a script that validates every possible string. So is the use of validators...
|
|
|
|
|
plz dnt use smsspk in da 4rm, thr is plnty of room for full sentncs.
|
|
|
|
|
Was this message pointing at me for typing MS in stead of Microsoft??
|
|
|
|
|
No, it was pointed at who I replied to who said
is there any javascripts dat suit my issue? if so hope it mite b more flexible than the use of validators.
|
|
|
|
|
i store all my aspx related cs file in a folder and replace codebehind with src attribute but at the runtime i am getting error.so pls help me to do it.
tbhattacharjee
|
|
|
|
|
You can see @ Page directive[^], and for more information see the compilation model in MSDN.
|
|
|
|
|
The Src attribute is not supported in Visual Studio. If you import a Web Forms page into Visual Studio that contains the Src attribute, the designer will raise an error.
|
|
|
|
|
hi all,
I got some javascript for confirm message
_________________
function confirmMsg(msg)
{
var x;
x =window.showModalDialog('ConfirmMsg.aspx?CfMsg='+ msg + ', '', 'dialogWidth:500px;dialogHeight:200px');
if (x=='Y')
return true;
else
return false;
}
_____________________
i am sending the parameter string, but the query string is not getting the value.. can any one check the syntax, and correct me that how i to send query string...
thanking you all..
I am requesting if any body having a message box which can show "yes, no" kind of buttons, and after yes only i have to perform the delete operation.. If any one having pls. give me some info..
thanks to u all..
|
|
|
|
|
you should use the following way
add attributes on the delete button as
<br />
btndelete.attributes.add("onCLick","window.confirm('are You Sure to delete');")<br />
when user clicks 'Yes' it will proceed furthor otherwise it wont proceed on pressing 'No'
regards
ravi jain
|
|
|
|
|
Thank you ravi for you reply.. My problem is that window.confirm is havinf "OK, CANCEL".. I need ""YES, NO" kind of stuff.
Previously i used this, but now my client is asking for YES No kind..
If you have any idea.. pls. let me know..
Thank you..
|
|
|
|
|
Hi there,
AFAIK, you cannot change these values, your chance is to use third party controls like Telerik's one or some posted here at CP.
|
|
|
|
|
hi u refer
WWw.w3schools.com
javascript tutorial
regards
saravanan;P
|
|
|
|
|
Hi,
I am binding empname field from dataset to my dropdownlist. and its displays the list. Now i am adding one extra value in dropdownlist as "All" with previous items. But this "All" is listed at last in the dropdownlist. But i need it in the first item in the list. Please help. Hereis my code
ddlEmployee.DataSource = loadEmployee; //loadEmployee-Dataset
ddlEmployee.DataTextField = "EmpName";
ddlEmployee.DataValueField = "EmpName";
ddlEmployee.DataBind();
ddlEmployee.Items.Add("All");
Thanks in Advance.
Regards,
Prya
|
|
|
|
|
ddlEmployee.DataSource = loadEmployee; //loadEmployee-Dataset
ddlEmployee.DataTextField = "EmpName";
ddlEmployee.DataValueField = "EmpName";
ddlEmployee.DataBind();
Listitem item = New ListItem("All", "0");
ddlEmployee.Items.Insert(0, item);
Pathan
|
|
|
|
|
Hi,
Thanks . Its working.
Regards,
Prya
|
|
|
|
|
Hi,
I am working windows 2000 server and microsoft development environment 2003 edition(.NET Software).I want know, how to configure local SMTP server in my machine to send mails to corporate domains(like cts.com) through C#.NET code.
I couldn't import System.Net.Mail reference in my code. How to use username and password in my code? Please reply me as soon as possible.
Prabha
|
|
|
|
|
karanji wrote: I want know, how to configure local SMTP server in my machine
The only configuration you need to do is to install the SMTP server.
To use your own SMTP server your ISP has to allow it, of course. Some ISPs only allow sending mail through their SMTP server, to prevent spamming.
karanji wrote: I couldn't import System.Net.Mail reference in my code.
What do you mean? What happened when you tried? Did you get any error message?
karanji wrote: How to use username and password in my code?
If you are using the local SMTP server you don't have to supply any username and password, IIRC.
---
b { font-weight: normal; }
|
|
|
|
|
how do we provide security to a web service
with regards
|
|
|
|