RadComboBox data lost on postback.
<telerik:RadComboBox ID="cmbCustOfficeCountry" runat="server" Width="153px" TabIndex="13"
AutoPostBack="false" OnClientSelectedIndexChanged="FillOfficeState" EnableViewState="true">
</telerik:RadComboBox>
//javascript code to fill combobox.(By JSON Method)
function LoadCountry(countryId, countryName, countryDDL) {
try {
countryControl = countryDDL;
//call web service method to get all country list from database.
GetData.GetCountry(countryId, countryName, OnCountryLoaded);
}
catch (e) {
radalert("Error :- on Method:- 'LoadCountry' Description:- " + e.description);
return false;
}
}
function OnCountryLoaded(result) {
try {
countryControl.get_items().clear();
countryControl.commitChanges();
comboItem = new Telerik.Web.UI.RadComboBoxItem();
comboItem.set_text("Select");
comboItem.set_value("0");
countryControl.get_items().add(comboItem);
for (var rowIndex = 0; rowIndex < result.rows.length; rowIndex++) {
var rows = result.rows[rowIndex];
comboItem = new Telerik.Web.UI.RadComboBoxItem();
comboItem.set_text(rows.CountryName);
comboItem.set_value(rows.CountryID);
countryControl.trackChanges();
countryControl.get_items().add(comboItem);
}
var item = countryControl.findItemByText("Select");
if (item) {
item.select();
}
}
catch (e) {
radalert("Error :- on Method:- 'OnCountryLoaded' Description:- " + e.description);
return false;
}
}
When ever page goes to postback all radcombo is clear with blank value. I mean the radcombo lost all the data.
Note: I am using webusercontrol, I mean My radcombobox is on my user control not on page.
So, Could you please give me solution to overcome this problem as soon as possible.
Hello,
When I'm pasting the text with a bulleted list from Word in IE 11 the </li> </ul> tags are moved to the end of text and paragraphs below the list are aligned as list items. In Chrome and FF everything is ok. Please,see the attached screenshots.
I've tried several StripFormattingOptions, but it didn't help. The issue also doesn't depend on new lines mode.
Did anyone experience this problem or have any ideas how to fix it?
Thank you.
Kind regards,
Kateryna
Hello
I have a button in one step of radwizard , and I have a radgrid in another step of radwizard.I want to refresh grid when Clicking button. How can I do this?

We're building a proof-of-concept using this Telerik example:
http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx
I've got the databound ok, however cannot get the update functionality to work at all.
Since the example is shown using a design-time datasource, we're having difficulty figuring out how to set up the update functionality for the grid since it is being bound at runtime.
I'm also using a demo version, so I am not well-acquainted with your controls, however have been developing ASP.Net web forms pages for over 10 years..
Code files are attached.
Thanks

Hi Admin,
I have Radajaxmanager and radajaxloadingpanel in my master page. In my Default page i have RadMenubar with Radmenuitems and onclick respective menu which is controlpage(.ascx) will be shown in same page in asp:panel. So in my default page i use radajaxmanagerproxy, on first click it is working fine but after that if i click the radajaxpanel is kept on loading and its not stopping.
I am doing a drag and drop from a grid onto the treeview. All is well, events are hooking up and I am getting all the data I need to make it work. But I have one issue. After the row from the grid is dragged on to the treeview node, I display a context menu that will allow the user to select the action they would like to perform with the dragged item on the node.
I have the context menu showing in the correct place, however it quickly closes again so that the user cannot select any of the menu items.
The code which show the menu:
function onRowDropping(sender, args) { if (currentNode) { //Check to see if this is a valid drop var draggedrow = args.get_draggedItems()[0]; var dragedentitytype = draggedrow.getDataKeyValue('EntityID'); var dragentityid = draggedrow.getDataKeyValue('cplID'); var dropenitytype = currentNode.get_attributes().getAttribute('EType'); args.set_cancel(true); //Cancel the drop, will be handled by menu item, also prevent grid from auto refreshing var tree = $find("<%=RadTreeStandards.ClientID %>"); currentNode.set_selected(true); tree._contextMenuNode = currentNode; var menu = tree.get_contextMenus()[1]; menu.show(args.get_domEvent()); } else { args.set_cancel(true); } } var currentNode = null; function onNodeMouseOver(sender, args) { //gets the node upon mousing over the node currentNode = args.get_node(); } function onNodeMouseOut(sender, args) { //resets the currentNode value upon mousing out currentNode = null; }
It seems that some event is occurring that I can't cancel that closes the menu?
Thanks,
Bryan Kowalchuk
Hi Team,
I'm trying to load Popup edit form automatically in radgrid on button click.
I'm using below code to launcg popup.
int index = ViewState["ROWINDEX"] != null ? Convert.ToInt32(ViewState["ROWINDEX"]) : -1;
if (index > -1)
{
//if (((System.Web.UI.WebControls.Button)(sender)).Text == "Next")
//{
this.gvGrowth.MasterTableView.Items[index].Edit = true;
this.gvGrowth.MasterTableView.Rebind();
// }
}
But the popup is not launched automatically , when i click on the button.
I'm using Telerik.Web.UI, v.2011.3.1305.40 , please let me know whether this version support this functionality or do we have any work around for this.
I followed the below link to develop my application and I'm using webuser control.
http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/edit-form-types/defaultcs.aspx
This is very urgent , can some one please help me.
Regards
Sai teja

Hi Tema,
I'm editing my grid vie win Popup mode,this is working fine.
This is the sample code of edit form settings
<EditFormSettings InsertCaption="Edit Item Template" CaptionFormatString="Edit ProjectID: {0}"
CaptionDataField="ProjectID" EditFormType="WebUserControl" UserControlName="~/UserControls/INGControl.ascx" PopUpSettings-ScrollBars="Auto" PopUpSettings-Modal="false" PopUpSettings-Height="400px" PopUpSettings-Width="1000px" PopUpSettings-ZIndex="20">
<EditColumn uniquename="EditCommandColumn1" ItemStyle-ForeColor="Blue" />
<PopUpSettings ScrollBars="Auto" />
</EditFormSettings>
I want to place next and prev button in my edit form/user control and when use clicks on next ,I need to display next grid item details in popup/user control.
I've a req now, where I need to load next/previous record of the grid view in popup when user clicks on next/prev button.
Please share some samples.
I'm using 2011 Q3 Build.
Regards
Sai Teja
