Tar det på engelska då jag redan skrivit det en gång. Är det allt för jobbigt att läsa så hojta till så översätter jag. Hej Josef! Första träffen på google Propertyn EnableOutsideScripts finns inte i RadAjaxManagern jag har lokalt, jag vet inte vad det beror på. Den dyker inte upp i ObjectExplorer och Intellisense plockar inte upp den.Telerik RadControls - Problem
I have two problems:
1. I'm hiding the panel in which my RadGrid resides, and I show it once a certain LinkButton has been clicked. The problem is when I click the LinkButton to display the panel the first time, the NeedDataSource-event is not triggered. When I click the same button a second time (in succession to the first click), the event is triggered and the RadGrid is filled with data. Doing MyGrid.Rebind() works, but it feels like an ugly solution, seeing how it should bind it automatically?
I heard I could do EnableOutsideScripts="true" but I can't find that property anywhere! I must be dead stupid, I've looked for this property all over yet I can't find it. I have to ask - is it deprecated? According to the object browser, RadAjaxManager inherits from RadAjaxControl, which in turn has the property according to the site (but not according to my object browser). Intellisense isn't picking it up, and manually typing it does no good.
2. I'm binding varying datasources to another RadGrid depending on a set of variables I store in ViewState, this resulted in broken paging on the RadGrid. I read something about ViewState conflicts, but I didn't quite understand how the RadGrid ViewState could interfere with the rest of the page's ViewState.
I'm using the latest version of Teleriks RadControls and .NET Framework 3.5. Tips?Sv: Telerik RadControls - Problem
Jag kan tyvärr inte hjälpa dig den här gången, utan kan bara berätta att Teleriks kontroller har varit till bekymmer även på företaget där jag jobbar. Så var det sagt...Sv: Telerik RadControls - Problem
http://www.telerik.com/community/forums/thread/b311D-tmhkb.aspx
<rada:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableOutsideScripts="true">Sv:Telerik RadControls - Problem
Lyckades få någorlunda rätsida på det nu, fast körde fast ganska snart igen:
The problem is the CommandArgument is lost in the ReBind (GridRebindReason.PostbackViewStateNotPersisted) that occurs spontaneously on PostBack, which is triggered by my LinkButton. The ItemCommand-event is triggered after the NeedDataSource event as well, so I can't set any ViewState variables to contain the parameters which decides the data source and data source parameters that should be bound to the Grid in the NeedDataSource event handler.
I tried setting EnableViewState="true" on the Grid, but it didn't help.