|
have you used document.getElementById('<%=this.itemid.ClientID %>').value = itemid;
Also check what browser renders. If it is input, you can use value, if its container you use innerHTML..
|
|
|
|
|
hello
Friends
i want String Compairions function
like
str1=This is demo
str2=this is Demo
above str1 and str2 are same
Thank you @};-
|
|
|
|
|
Microsoft investa lot of money to write a great knowledgebase about its various tools and languages in MSDN.
Did you even try to look at it?
Here [^]is the whole explanation you may ever need about it.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
How to use MS-Word Eqution Editor in asp.net textbox control?
Is it possible are not?
If possible how to implement?
Thanking you
abglorie
|
|
|
|
|
|
Hi
I have a problem. i have write a code to send mail in asp.net and now i ahve to publish it on Windows Server 2003. but It gives error message . Can anybody let me know that how can I configure SMTP server on windows Server 2003. Plz Plz It's very urgent.
thanks
Raghvendra Kumar Roy
|
|
|
|
|
Hi,
what is the error message you are getting?
Did you configured your SMTP-server correctly? Are you using the local one (provided by the IIS)? Maybe you must check for security properties (for this, open the IIS manager, right click on SMTP and then to the tab "security").
Regards
Sebastian
|
|
|
|
|
Raghvendra Kumar Roy wrote: Plz Plz It's very urgent.
And this is so rude.
I hope you are using IIS 6.0. Did you even google to look how to do this.
There are loads [^]of articles there.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
I want help from you.
How to typing mathematical equvation in textbox?
Is it possible are not?
If possible how to implement?
Thanking you
abglorie
|
|
|
|
|
what do u mean "mathematical equvation".
Raghvendra Kumar Roy
|
|
|
|
|
Now typing in msword document using equation editor and type matrix
(i.e. 3 row 4 columns).
1 0 1 1
1 1 0 1
0 1 1 0
|
|
|
|
|
|
Hi,
I need to clear all the Control field's - (Radiobuttonlist, Dropdownlist, Textboxes and Fileupload) values on a button click. I am able to do for Radiobuttonlist, Dropdownlist and Textboxes but not able to do for FileUpload control. Can anyone please help me out in this. Thanks in advance
txtAppID.Text = string.Empty;
txtkeywords.Text = string.Empty;
MtxtDesc.Text = string.Empty;
ddl_Domain.SelectedIndex = 0;
ddl_Theme.SelectedIndex = 0;
rbl_Businessarea.ClearSelection();
rbl_Clientsize.ClearSelection();
This is code i have written on a button click. On the same button click i need to clear the ASP:FileUpload control values too.
Thanks,
Santa.
|
|
|
|
|
set the text property to an empty string ""
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
There is no text property for FileUpload control.
|
|
|
|
|
Pardon me, you are Right. Now Before you Upload , you need to check if there is a File like this
if (FileUpload1.HasFile)
{
}
what you can do is that when you done Uploading you can clear it at the Upda of Uploading process like this
if (FileUpload1.HasFile)
{
FileUpload1.HasFile = false;
}
or you can do it like this
or you can do it with javascript like this
<script language="javascript">
function ClearFileUpload()
{
var fil = document.getElementById("FileUpload1");
fil.select();
n=fil.createTextRange();
n.execCommand('delete');
fil.focus();
}
</script>
<asp:FileUpload ID="FileUpload1" runat="server" />
<asp:Button ID="Button1" runat="server" OnClientClick="ClearFileUpload()" Text="Clear" />
http://www.dotnetspider.com/resources/2768-clear-value-ASP-NET-FileUpload-Control.aspx[^]
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
This [^]should help.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
The Javascript function works fine.
the FileUpload.Hasfile = False does not work it errors out saying Property or indexer 'System.Web.UI.WebControls.FileUpload.HasFile' cannot be assigned to -- it is read only
So i used the javascript function. There is one more issue. When i use the Javascript function i am calling this methos on the OnClick of a Button, on the same OnClick event i have to clear the other fields for which the code id on the .cs file.
protected void btnClear_Click(object sender, EventArgs e)
{
txtAppID.Text = string.Empty;
txtkeywords.Text = string.Empty;
MtxtDesc.Text = string.Empty;
ddl_Domain.SelectedIndex = 0;
ddl_Theme.SelectedIndex = 0;
rbl_Businessarea.ClearSelection();
rbl_Clientsize.ClearSelection();
}
If both the functionalities are in .cs file can call it one after the other.
One functionality is in aspx page the other is in .cs file. So what do now.
Thanks,
Santa
|
|
|
|
|
coolsharath wrote: One functionality is in aspx page the other is in .cs file. So what do now.
I would rather move this to client side. Its always nice (atleast my preference) to handle the validations, field clearing at the client side itself.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi friends,
i have a problem in windows service.I have made application same as that code.that application contain IHTMLDocument interface.When i run the service, break point disappear from this IHTMLDOCUMENT line nad not completing the further process.Where as with the same code,application successfully executed.
Can anybody tell me what type of problem is there?reply me on sonal.2086@gmail.com
reply asap.
Thanks & regards,
Sonal Patel
|
|
|
|
|
iiiii wrote: i have a problem in windows service
And this is ASP.Net forum.
iiiii wrote: reply me on sonal.2086@gmail.com
Never do this. This only invites a large chunk of spams.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi friends
I have a problem of showing gridview's databound column value which binds decimal values. Actually it shows comma instead of showing decimal point in the decimal value.
For eg 20,02 instead of 20.02
My website s a multilingual website. if I select a english then it displays 20.02 in the BoundField column else it shows 20,02.
Could u guide me how to resolve this issue
G Nathan
|
|
|
|
|
G Nathan wrote: if I select a english then it displays 20.02 in the BoundField column else it shows 20,02.
My friend, I think this is OK. There are many cultures like French, Dutch etc where decimal is represented by a comma.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi Friends,
I develop one Web Application using C#.Net here i want a report with a condition.
The condition given in the Text Box.But i don't know how pass the text box value to the report.
Please help me with your valuable ideas.
Thanks,
Vasanth.A
|
|
|
|
|
How to pass a lot of parameter in WCF
|
|
|
|