|
I am using freetextbox which does not provide onclientclick event. so how to call client side events for freetextbox like onkeyup, onkeydown etc and also I am unable to find javascript in the view source of the reply page
thanks for your reply. Hope u will soon reply with my requirement.
Thanks again
|
|
|
|
|
hi all
i am facing format problem of date as my client has two server and i am using the date format dd/MM/yyyy. this format works on server but not working of second server. if is use mmddyyyy then this work on second server but not in first one.
i dont know to check the format of date
|
|
|
|
|
Check the culture settings of the second server.
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
Hi guys
I am working on content page and using java script code on code behind page
on page load
but that is not working
my code is
Private Const CrLf As String = Microsoft.VisualBasic.Constants.vbCrLf
Dim sb As System.Text.StringBuilder
sb = New System.Text.StringBuilder()
sb.Append(CrLf)
sb.Append("")
sb.Append(CrLf)
sb.Append("javascript:window.history.forward(-1);")
sb.Append(CrLf)
sb.Append("")
' Register script with page
Me.ClientScript.RegisterStartupScript(Me.GetType(), "onLoadCall", sb.ToString())
any one can help me
krishna veer singh
|
|
|
|
|
Please check whether you have used Ajax or Not??
Cheers!!
Brij
|
|
|
|
|
ya on that page i am using ajax tool kit
krishna veer singh
|
|
|
|
|
That's why you are facing problem.Please Register the code like this
ScriptManager.RegisterStartupScript(this, this.GetType(),"Sample", strPopupScript, true);
Cheers!!
Brij
|
|
|
|
|
As Brij, Says, are you using Ajax , the use ScriptManager insted of ClientScript.
|
|
|
|
|
Hi,
I am using outlook APIs in my .net application.I am able to fetch contacts and mails from inbox of my account (xyz@mpcs.co.in)., now I want to show the mails and contacts of different user (abc@mpcs.co.in).
Don't say to configure outlook for abc@mpcs.co.in.. )
Can we set this emailId through code....any idea.
Thanks,
Nagraj.
|
|
|
|
|
What does this have to do with ASP.NET ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi,
I want to give mailing facility to user along with that user should able to see mails from his outlook inbox and contacts from outlook.
|
|
|
|
|
i m new to asp validator controll. what i want i have one text box for email and i have to validate it for it should not be blank and it should be valid for that i have taken RequiredFieldValidator and RegularExpressionValidator but the problem is that it is showing space where i have put these controll. i have email text box below that in new row i have these controll and in next row i have one other text box but it is showing space between these two text box how to remove that one?
|
|
|
|
|
you can try to make a JavaScript function for validation. For extra protection you can make one other validation test on server side.
|
|
|
|
|
Does anyone know any free web hosting for asp.net?
The Developer - CEH
|
|
|
|
|
You want a lot for free, don't you? Including others to do your work for you.
TANSTAAFL.
|
|
|
|
|
and what are you doing here in CP
The Developer - CEH
|
|
|
|
|
And once again you aer asking a question you could quite easily find the answer to yourself.
I may not be the most prolific helper on CP, but I do from time to time, when I have the time and someone has asked a sensible quesiton. More to the point though, I don't try to leech off others; I don't ask questions without first putting in a good effort at solving them myself; and I will certainly never ask such a general question as "How to add data to Datalist by code" - if you need to ask that, you are wasting everyone's time, including your own.
|
|
|
|
|
This is not an answer change ur tag to joke
The Developer - CEH
|
|
|
|
|
If you get dyndns or similar, you can host your own site.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Free Hosting[^]
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
hi,
i am using master page.
i use page using master page in this page there are two content place holder one for datagrid and second for panel add,edit,delete, info. and in datagrid there are info, edit, delete image button. when i click on edit image button than open edit panel which exists in second content place holder and fill that from database previous values. when i edit on fields and than click on save button i want that page will not refresh and value is edited in database and also in gridview. how i can do this?
update panel cant place outside the both content place holder because this page is from mater page.
I will do my best?
|
|
|
|
|
Update panel is evil. If you can avoid using it, please do.
Can you please explain more clearly what you are trying to do?
|
|
|
|
|
thanks to reply
problem is that i want to refresh datagrid control which is also in updatepanel and this control is in contentplaceholder1. and when i open edit panel which is open in new contentplaceholder2 when edit data datagrid is not refreshed while work is done. when i click on that contentplaceholder1 dropdownlist then datagrid is update. how to refresh without refresh the page.(using ajax)
I will do my best?
|
|
|
|
|
UpdatePanel != Ajax.
Your best bet is probably to combine the Datagrid and Edit controls in the same UserControl.
If you keep your current model, one thing you could try is to put a hidden button on the UC with the datagrid. On the server side, when that button is clicked, refresh the grid.
Then when the edit controls should update the grid, have JavaScript programmatically click the hidden button on the datagrid UC.
|
|
|
|
|
How to add data to Datalist by code. like adding columns to DataGrid?
The Developer - CEH
|
|
|
|