| <Rad:RadGrid ID="gridRADIndicatorSummary" |
| runat="server" |
| AutoGenerateColumns="true" |
| Skin="Office2007" |
| OnItemDataBound="gridRADIndicatorSummary_OnItemDataBound" |
| ShowFooter="false" |
| ShowGroupPanel="false" |
| ShowDesignTimeSmartTagMessage="false" |
| ShowStatusBar="false"> |
| <ClientSettings> |
| <Scrolling AllowScroll="True" |
| UseStaticHeaders="true" |
| FrozenColumnsCount="4"> |
| </Scrolling> |
| </ClientSettings> |
| <MasterTableView TableLayout="Auto"/> |
| </Rad:RadGrid> |
private RadAjaxManager Manager
{
get { return RadAjaxManager.GetCurrent(Page); }}
and on the load event
Manager.AjaxSettings.AddAjaxSetting(Manager, Manager);
string
script = "return radalert('HI.', 300, 50);";
Manager.ResponseScripts.Add(script);
In the same page i have create the buttonclick event, here is working properly, by attaching the button with the manager in load event. So, I am facing the problem when opening the radalert() in Page_Load() event.
I am looking for your kind support.
Thanks
Bankey Bihaari
I've got trouble using the disableEvents function of the RadComboBox.
When I add a RadComboBox to my ASP.NET page, with the OnClientSelectedIndexChanged and OnClientItemsRequested event handler. To preselect a item in the combobox, I first lookup the item in the itemcollection. If the item is found, I execute disableEvents() on the combobox, select the item and after that, reenable the events with enableEvents().
Directly after I select the item, the OnClientSelectedIndexChanged-event is triggered. Because of the disableEvents() I don't expect the event to be triggered.
The following code demonstrates the bug:| <script type="text/javascript"> |
| function onrequested(sender, eventArgs) { |
| sender.disableEvents(); |
| sender.get_items().getItem(0).select(); |
| sender.enableEvents(); |
| } |
| function onchange(sender, eventArgs) { |
| alert("changed! new value: " + sender.get_value()) |
| } |
| </script> |
| <script runat="server"> |
| Protected Sub cmbItemsRequested(ByVal sender As Object, ByVal e As EventArgs) |
| cmb.DataSource = New object() {New with { .Text="Text1"}, New with { .Text = "Text2"}} |
| cmb.DataBind() |
| End Sub |
| </script> |
| <telerik:RadComboBox HighlightTemplatedItems="True" DataTextField="Text" DataValueField="Text" EnableLoadOnDemand="true" OnItemsRequested="cmbItemsRequested" runat="server" id="cmb" OnClientSelectedIndexChanged="onchange" OnClientItemsRequested="onrequested"> |
| <ItemTemplate>(<%# DataBinder.Eval(Container, "Text") %>)</ItemTemplate> |
| </telerik:RadComboBox> |
I am struggling to understand why the following code is putting all rows into edit mode when I click my "Edit All" button, when it should be putting all rows except those which have their checkbox checked. When the code hits the if statement for the checked rows it recognizes that the checkbox is checked and falls into the else part to set item.Edit = False, but after retrieving the transactions in the GetTransactions() method the rows are ALL in edit mode.
I just don't understand how that is happening. Dooes anyone have any ideas?
Here is the code:
If (e.CommandName = "EditAll") Then
For Each item As GridItem In rgT.MasterTableView.Items
Dim cbAppCntrl As CheckBox = CType(item.FindControl("chkApproved"), CheckBox)
If (Not cbAppCntrl.Checked) Then
item.Edit = True
ElseIf (cbAppCntrl.Checked = True) Then
item.Edit = False
End If
Next
GetTransactions()
End If
Thanks!!!
I see the trial version for the new 2008 Q3 release (2008.3 1105) is available for downloading, but in the client area I only see the beta version (2008.3 1016).
On the left of the download area it says "Newer version available: 2008.3 1105" but that only links to the trial download. (That link is broken by the way, it http://www.telerik.com/your-account/free-trials.aspx but it should be http://www.telerik.com/account/free-trials.aspx ).
So the question is, can I download and use the trial version? Or will the new version be available soon in the client area?
Thanks, Steve