
Hello,
var combo = <%= RadComboBox1.ClientID %>; var userControlId = '<%= ID %>'; var selectionSetUrl = "../SelectionSets/NetworkSet.aspx"; var selectionSetType = '<%= Fox.Fbc.Rds.RdsWeb.Interfaces.SelectionSetTypeCode.NET.ToString() %>'; EditSelectionSetInModalDialogHelper(selectionSetUrl, selectionSetType, userControlId, combo.GetText()); According to the documentation GetText is supposed to be replaced with get_text. So, I replace the last line with this one:
EditSelectionSetInModalDialogHelper(selectionSetUrl, selectionSetType, userControlId, combo.get_text());And still get the same error.
Please help.
Thanks,
Olga
Hi,
I am trying to hide and show RadComboBox.
But this code doesn't seem to be working. I checked in IE and FireFox. Thank you.
$.ajax({
url: applicationPath + "/test/Test.svc/GetResultById",
type: "POST",
dataType: "json",
data: '{"sId":' + sender.get_value() + '}',
contentType: "application/json; charset=utf-8",
success: function(result)
{
var combo = "<%= RadComboBox1.ClientID %>");
if(result.d == false)
{
combo.hideDropDown();
}
else
{
combo.showDropDown();
}
}
in my button click event i have:
StringBuilder strTXTFileBuilder = new StringBuilder(); Response.Clear(); Response.AddHeader("content-disposition", "attachment;filename="ExportResult.txt"); Response.Charset = "";
Response.ContentType = "application/vnd.text"; StringWriter stringWrite = new StringWriter(); HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite); Response.Write(strTXTFileBuilder.ToString()); Response.End();Hi,
I am trying to hide and show RadComboBox. I am using .hideDropDown() but it doesn't work. What could be an issue?
$.ajax({
url: applicationPath + "/test/Test.svc/GetResultById",
type: "POST",
dataType: "json",
data: '{"sId":' + sender.get_value() + '}',
contentType: "application/json; charset=utf-8",
success: function(result)
{
if(result.d == false)
{
var combo = "<%= RadComboBox1.ClientID %>");
combo.hideDropdown();
}
}