Hello,
well I have following Problem. Developing site with .NET 3.5, C#, Telerik Controls Q2/2008. On this site there is a RadGrid and a Formular. Both of them "ajaxified". Grid with this in code behinde:
RadAjaxManager manager = RadAjaxManager.GetCurrent(this.Page);
manager.AjaxSettings.AddAjaxSetting(m1ButtonSave, GrdAllNlCategorys);
which means when a save button is clicked grid should reload. And the form is in an
Ajax panel like this:
<telerik:RadAjaxPanel id="Radajaxpanel2" runat="server">
</telerik:RadAjaxPanel>
now following, there is an edit button, so when a user klicks on it I load the data of this item into the form at this site with following code:
private void SetDataFields(GridDataItem gdi, GridDataItem parentgdi)
{
UserInfo myCurrentUserInfo = SessionItems.CurrentUserInfo;
using (M1eRelCLCustomerDB customerDBContext = ConnectionManager.CreateCustomerDBContextRO(myCurrentUserInfo.ConstraintCustomerID))
{
TxtCategorieName.Text = gdi["NewsletterCategoryName"].Text;
TxtNlCategoryDescription.Text = ""; // gdi["AdmCustomerID"].Text;
}
}
now my problem is, that the app comes into this, it gives the value to the telerik
textbox control. I see it in a debug mode, but the value is not displayed. If I remove the first ajaxifinig from grid, then it works.
Can someone give me a helpfull advice how to solve this issue.
regards,
zk
well I have following Problem. Developing site with .NET 3.5, C#, Telerik Controls Q2/2008. On this site there is a RadGrid and a Formular. Both of them "ajaxified". Grid with this in code behinde:
RadAjaxManager manager = RadAjaxManager.GetCurrent(this.Page);
manager.AjaxSettings.AddAjaxSetting(m1ButtonSave, GrdAllNlCategorys);
which means when a save button is clicked grid should reload. And the form is in an
Ajax panel like this:
<telerik:RadAjaxPanel id="Radajaxpanel2" runat="server">
</telerik:RadAjaxPanel>
now following, there is an edit button, so when a user klicks on it I load the data of this item into the form at this site with following code:
private void SetDataFields(GridDataItem gdi, GridDataItem parentgdi)
{
UserInfo myCurrentUserInfo = SessionItems.CurrentUserInfo;
using (M1eRelCLCustomerDB customerDBContext = ConnectionManager.CreateCustomerDBContextRO(myCurrentUserInfo.ConstraintCustomerID))
{
TxtCategorieName.Text = gdi["NewsletterCategoryName"].Text;
TxtNlCategoryDescription.Text = ""; // gdi["AdmCustomerID"].Text;
}
}
now my problem is, that the app comes into this, it gives the value to the telerik
textbox control. I see it in a debug mode, but the value is not displayed. If I remove the first ajaxifinig from grid, then it works.
Can someone give me a helpfull advice how to solve this issue.
regards,
zk