or
Hi! I have two questions. I hope for for your help
1. How i know if the radgrid is empty?
2. How i can change the text to show when the radgrid is empty?
Thanks!!!!!
Briayan
| protected void RadScheduler1_AppointmentCreated(object sender, AppointmentCreatedEventArgs e) |
| { |
| string clientID = e.Appointment.ClientID; |
| RadToolTipManager1.TargetControls.Add(clientID, e.Appointment.ID.ToString(), true); |
| } |
| protected void RadToolTipManager1_AjaxUpdate(object sender, ToolTipUpdateEventArgs e) |
| { |
| int toolTipID = Convert.ToInt16(e.Value); |
| DataExercisesTableAdapters.ExercisesTableAdapter adapter = new DataExercisesTableAdapters.ExercisesTableAdapter(); |
| string description = "<p><strong>Click exercise name to watch video</strong></p>" + adapter.GetDescription(toolTipID).ToString(); |
| Label lblText = new Label(); |
| lblText.Text = description; |
| e.UpdatePanel.ContentTemplateContainer.Controls.Add(lblText); |
| } |
I have a problem wiht the asp.net ajax controls, i can't see the controls designer, but running Ok.
I have reinstall de controls and the visual studio,but no is the solution for this problem
Here a capture from de problem..
Thanks for your help..!
| <telerik:GridHyperLinkColumn DataNavigateUrlFields="Item_Info_Url" DataTextField="Item_Description" |
| UniqueName="column" DataNavigateUrlFormatString="{0:G}" |
| DataTextFormatString="{0:G}"> |
| </telerik:GridHyperLinkColumn> |

| function estGridCommandClicked(sender, eventArgs) { |
| var command = eventArgs.get_commandName(); |
| if (command == "Update") |
| _containsDirtyEstimates = true; |
| } |
| <telerik:RadGrid ID="GridView1" runat="server" AutoGenerateColumns="false" |
| onitemcommand="GridView1_ItemCommand" AllowAutomaticUpdates="false" OnItemDataBound="GridView1_RowDataBound" |
| OnUpdateCommand="GridView1_UpdateCommand"> |
| <MasterTableView Width="100%" CommandItemDisplay="Top" DataKeyNames="ID" ClientDataKeyNames="ID"> |
| <EditFormSettings EditFormType="Template"> |
| <FormTemplate> |
| <OKS_Controls:EstimateAdd runat="server" id="EstimateAdd1" ValidationGroup="EstValidationGroup" /> |
| </FormTemplate> |
| <EditColumn UniqueName="EditCommandColumn1"> |
| </EditColumn> |
| </EditFormSettings> |
| <CommandItemSettings AddNewRecordText="Request a New Estimate" /> |
| </MasterTableView> |
| <ClientSettings> |
| <ClientEvents OnCommand="estGridCommandClicked" OnRowCreated="estGridRowCreated" /> |
| </ClientSettings> |