?
Solved

Can I set the autopostback property of a radComboBox control in javascript?

Posted on 2011-02-23
3
Medium Priority
?
1,468 Views
Last Modified: 2013-12-26
I have a radComboBox with the autopostback set to true.  But in certain circumstances, I need to change the contents of the comboBox in javascript and not do the autopostback.
Is there some way I can do this?  What is the syntax?

      combo.setautopostback to false somehow
        combo.trackChanges();
        combo.set_selectedIndex(0);
        combo.set_text('');
        combo.set_value('');
        combo.commitChanges();
       combo.set autopostback back to true somehow

0
Comment
Question by:Jeanne_Kornkven
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 6

Expert Comment

by:yjchong514
ID: 34967388
function testDetails(con,e)        {          

 if(con.value == "")  {                  
return false;          
 } else {
                __doPostBack(con,e);            
}                  

}
 
and your textbox should be...
<asp:TextBox ID="TextBox1" runat="server" AutoPostBack="true" onchange="return testDetails(this,this);" OnTextChanged="TextBox1_TextChanged"></asp:TextBox>
0
 

Accepted Solution

by:
Jeanne_Kornkven earned 0 total points
ID: 34971706
0
 

Author Closing Comment

by:Jeanne_Kornkven
ID: 35005245
The other solution did not apply to my question.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month10 days, 20 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question