|
If you handle a text changed event you will want to make sure you have it client side. If you make it server side you will get a postback on each key press.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
hi friends
In yahoo,gmail,rediff having Check avialability button in registration form
if clicked that button.it will display the suggesion then username exists or not.
how can i achive this
regards
saravanan
|
|
|
|
|
Hi,
In the click event of button check for if the entered name exists in the database.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
In the check Availability button, trigger an XmlHttp call where you can check for Duplication/Availability and inform the user accordingly.
|
|
|
|
|
Hello,
I have an input form to collect user info. In the middle of the form I had a dropdown with Autopostback enabled. Here if the user selects "Employed" I want to dispaly 2-3 text boxes below the drop down to collect his employment details and move the already existing fields below the new ones.
Regards,
dhulipudi
|
|
|
|
|
Better create the textboxes at design time and keep that as invisible. Then on selected index changed event of dropdown, make it visible according to your conditions.
|
|
|
|
|
Hello Navaneeth,
I am following the same method as you told. But my problem is when I make visible them visible I want to move the already existing text boxes below.
Please let me know how to achieve this.
Regards,
JJ
|
|
|
|
|
For this better do with javascript.. You can use style.display. That will hide the invisible area and brings the control up.
|
|
|
|
|
Thank U I will give a try...
~JJ
|
|
|
|
|
Hi all,
In my application i wanna display an image of having the current webpage content.
I mean,in my application there is Preview button,in that click event i have to display all the webpage content as Image.
By googling am able to know that i have to use mshtml,shdocvw dlls and gdi+.but no clarity which one has to use GDI or others
Any one of you pls gime some source or Suggestions
Have a Nice Day Dudes
Have a Nice Day Dudes
|
|
|
|
|
|
I am NewUserWizard control in my website.After entering the required data at run time Data gets stored into sql server database by default.Now i want to change the default database SQL server to Access databse How to do this?
Pls help me out.
GIRISh
|
|
|
|
|
Hi all guys,
I am trying to get the index of the listbox,
after I selected RadioButton that has Autopostback=true.
Here is some code.....
string titleColor = this.titleColorList.Items[this.titleColorList.SelectedIndex].Text;
And then I tried to show the result: Transparent
The Transparent is the first member of list or it has index=0
It took me for hours still don't know how to get it work.
Anybody know how to resolve this problem?
Any help would be appreciated.
Thank you very much.
-- modified at 6:02 Friday 15th June, 2007
junior boy
|
|
|
|
|
set EnableViewState of your dropdownlist to true, it will save the value after the page load. If it is not what you need, I did not well understood
|
|
|
|
|
The listbox dropdownlist still keep and showing what member I selected after postback but when I tried to show what exactly selectedIndex is, it shows me the first index, it wasn't the index of the selected value.
Regard,
junior boy
|
|
|
|
|
why you don't do just this?
string titleColor = this.titleColorList.SelectedValue;
|
|
|
|
|
Hi,
Try this
In page load try to use
if(!page.Ispostback) and inside it try to keep the your code ...it may work.....
Goutham
|
|
|
|
|
Thank you very sir,
Not I got it worked
Actually I have tried to use SelecteValue but I didn't get it work somehow
but now I tried it again and it work well.
Thank you very much and really appreciated.
junior boy
|
|
|
|
|
It looks like the dropdownlist is getting rebound in Page_Load even on Postback. Can you check whether you could bypass this by using IsPostback property so that the control is resurrected of its values from the ViewState statebag?
|
|
|
|
|
Hi,
Please help me out from this
Iam using skmmenu control.when i am in partitucalar page that submenu item should remain highlighted.
Suppose if i am in HOME ..that HOME subitem should remain highlted..for highlighting i want to use a gif or jpeg image ....
Pls help me on how to do this
Goutham
|
|
|
|
|
Hi
am calling webform2 from webform1
and now i want to return value selected in the ddl of webform 2 to webform1
webform1:
btnsubmit.attributes.add("Onclick","javascript:opennewwindow();");
javascript of webform1:
window.open("webform2.aspx?="+cname,"aa","ht,widht...)
Webform 2:
i am loading the ddl with the help of query string passed from webform1
now how to send the selected value of ddl to webform 1 from webform2
Thanks for you help
|
|
|
|
|
First Put a frame.aspx in between child and parent form and do the following.
Use this in ur child form:
function AddDeptDesg()
{
var dept = document.all("<%=cmbDeptName.ClientID%>");
var desg = document.all("<%=cmbDesgName.ClientID%>");
var MyArgs = new Array();
MyArgs[0] = dept.options[dept.selectedIndex].value;
MyArgs[1] = desg.options[desg.selectedIndex].value;
window.returnValue = MyArgs;
window.close();
}
On Parent form:
function ChooseDept()
{
var winSettings = "dialogWidth:400px;dialogHeight:250px; help: no; status: no";
var values = window.showModalDialog("DeptFrame.aspx"," ", winSettings);
if(values)
{
values[0] += "," + values[1];
document.all("htxtDept").value = values[0];
return true;
}
else
{
return false;
}
}
|
|
|
|
|
hello everyone,
I have a doubt regarding Updating of GridView.
My doubt is: How to update all the coloums at a time to database in GridView.Plz write code in c#.
Plz help clear this solution, very urgent for me.
OK byee
Thank Q,
Murali
Murali
|
|
|
|
|
There is many ways and one of them is u can read the Gridview and store the values in string variable seperated by comma and then split it while saving.
Hope it helps u...
|
|
|
|
|
Thankq for u reply.
But i need the code for it.Plz post code.
ok byee
Murali
|
|
|
|