Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
134 views
Hi,

I have an update panel in that i have "RadScheduler" and other controls...

I have added one Appointment with "Reminder" of 5 min. as well as daily "Recurrence" as every 1 day...

Now "Reminder dialog" displayed and i press "Dismiss" it will trigger ReminderDismiss event than AppointmentUpdate and finally AppointmentInsert events

In dismiss event i have just add code that update Reminder field in database...
In AppointmentUpdate event i have just updated RecurrenceRule with Exceptions Date that will add "SU EXDATE" to RecurrenceRule...
In AppointmentInsert event i just add new Simple Appointment same as previously added appointment but with no RecurrenceRule. So the Recurrence start from next day and today will be excluded.

For Rebinding Appointments from database, In AppointmentInsert event i added the code to Rebind data. But, it will not effect on RadScheduler and when click on edit/delete it ask for "this occurrence or series to Edit/Delete?". However when i click other linkbutton or button from the page, it will Rebind RadScheduler and Scheduler and updated as i want.

I have tried Response.Redirect in AppointmentInsert event but it shows me error because of CallBack event. So i thought that if it is CallBack event RadScheduler can not able to rebind. Even i can not change any element of aspx page.

So if possible i want to know after all event Called (ReminderDismiss->AppointmentUpdate->AppointmentInsert) when dismiss pressed, In which event i suppose to do Response.Redirect or RadScheduler Rebind() / Databind() ... ?
umesh prajapati
Top achievements
Rank 1
 asked on 27 Sep 2011
2 answers
276 views
Hi, is it possible to have 100% height in a table td with sticky header and scrolling without paging?

Thank you for any answer.
Volkan
Pavlina
Telerik team
 answered on 27 Sep 2011
0 answers
69 views
Hi,

We are using telerik grid controls & inside every row an image is displayed.

this image is pulled from azure storage by providing image url dynamically.

Assume 10 rows displayed, On consecutive screen refresh - out of 10 images, 8 or 7 images only displayed (randomly).

Any one faced this issue - any solutions/ideas.

Thanks in advance.
Ilink
Top achievements
Rank 1
 asked on 27 Sep 2011
4 answers
69 views
Hi,

  Generally filter works on the binded dataset, but i have a situation each time it should get results from the database based on the selected value in the filter. For suppose if they select date in the filter it should pass the date to Stored Procedure and it should get the new dataset.

Please update this thread if anybody have the answer (or) Is there any other way to achieve this? please suggest.
Rajasekhar
Top achievements
Rank 1
 answered on 27 Sep 2011
2 answers
117 views
Hello
I have a datagrid which contain combobox. The user can add row by clicking on a button in my form.
So the user can have as many rows as he wants.

I have 2 arrays in javascript. One for the text value and one for the key value.

I would like to populate my combo box (as many as it has in my grid) with the array that I have in javascript.
how can I do that?
Here is my arrays
var correspondance = new Array(2);
            correspondance[0] = ["St-Victor", "Beauceville", "St-Georges", "Notre-Dame-des-Pins", "St-Anges", "Tring-Jonction", "St-Odilon-de-Cranbourne", "Frampton", "St-Frédéric", "St-Joseph", "Vallée-Jonction", "Ste-Marie", "St-Benoit-Labre", "St-Ephrem", "St-Narcisse-de-Beaurivage", "St-Elzéar", "Ste-Hénédine", "St-Isidore", "Ste-Marguerite", "Scott", "St-Bernard", "St-Sylvestre", "St-Patrice-de-beaurivage", "Lac-Etchemin", "St-Camille-de-Lellis", "St-Magloire", "St-Cyprien-des-Etchemins", "Ste-Rose-de-Watford", "St-Benjamin", "St-Prosper", "Ste-Justine", "St-Zacharie", "Ste-Aurélie", "St-Côme-Linière", "St-Honoré-de-Shenley", "St-Théophile", "St-Robert-Bellarmin", "St-Ludger", "St-Gédéon-de-Beauce", "Courcelles", "St-Évariste-de-Forsyth", "La Guadeloupe", "St-Martin"];
            correspondance[1] = ["G0M2B0", "G5X3N9", "G5Y7R7", "G0M1K0", "G0S3E0", "G0N1X0", "G0S3A0", "G0R1M0", "G0N1P0", "G0S2V0", "G0S3J0", "G6E2K9", "G0M1P0", "G0M1R0", "G0S1W0", "G0S2J0", "G0S2R0", "G0S2S0", "G0S2X0", "G0S3G0", "G0S2G0", "G0S3C0", "G0S1B0", "G0R1S0", "G0R2S0", "G0R3M0", "G0R1B0", "G0R4G0", "G0M1N0", "G0M1Y0", "G0R1Y0", "G0M2C0", "G0M1M0", "G0M1J0", "G0M1V0", "G0M2A0", "G0M2E0", "G0M1W0", "G0M1T0", "G0M1C0", "G0M1S0", "G0M1G0", "G0M1B0"];

Here is my grid
<telerik:RadGrid 
                                  ID="RadGrid2" 
                                  Skin="Vista" 
                                  runat="server" 
                                  ShowFooter="true" 
                                  CommandItemStyle-HorizontalAlign="Center">  
                                     <MasterTableView 
                                         ShowFooter="true" 
                                         CommandItemDisplay="bottom" 
                                         EditMode="InPlace" >  
                                         <CommandItemTemplate>
                                             <asp:LinkButton ID="LinkButton1" CommandName="CalculDistance" Runat="server" CssClass="TexteBlanc16">Calculer</asp:LinkButton>
                                         </CommandItemTemplate>
                                         <Columns>                     
                                             <telerik:GridTemplateColumn UniqueName="CodePostal" HeaderText="Code Postal">  
                                                 <ItemTemplate>  
                                                     <asp:DropDownList ID="LstCodePostal" runat="server"  OnBlur="CreerCodePostal()"></asp:DropDownList>
                                                 </ItemTemplate>  
                                             </telerik:GridTemplateColumn>  
                                         </Columns>  
                                      </MasterTableView>  
                              </telerik:RadGrid>

Thank you
Myriam
Top achievements
Rank 1
 answered on 27 Sep 2011
1 answer
67 views
I am successfully able to group by dragging a column name. My problem is, if i want to remove the grouping, i am not getting the close button near that column name. Please help.
Sebastian
Telerik team
 answered on 27 Sep 2011
1 answer
54 views
Hi all.  I have tried numerous ways to do this but cannot.  My goal is SIMPLE...

"To be able to use a RadGrid that I can control formatting on, bind to a SharePoint list and use the internal SharePoint edit dialog commands without writing a bunch of code"

 Things I've tried (some based on correspondence with the Telerik team)...

1. Inheriting from TelerikSPRadGridWebPart and creating my own custom webpart so that I can bind to the events of the Grid.
  PROBLEM:  I can't seem to get the right combination of files perhaps.  I can deploy and load the webpart onto a page,  but there is no data and the Designer doesn't work at all.  I've tried this with and without an associated ascx control.  You'd think without is the way to go.  Then simply have a .dwp and .cs file with the .cs file inheriting from TelerikSPRadGridWebPart.  Again, I can get this on the page, I can even access the Grid (RadGrid) property on the webpart in my .cs file...  But that's about it.  Unless I want to go about doing all of the databinding myself, that's as far as it takes me. 

2. Created a simple webpart using the RadGrid and creating my own datatable from a SharePoint list query.  Bind the datatable to the RadGrid.  I have tried the following with regard to the Edit functionality I described in my goal...

2a. I've tried a GridButtonColumn and then in the item data bound event handler i've tried to set the OnClientClick to the SharePoint showEditInsertForm...

2b. I've tried a Grid LinkButtonColumn and navigation parameters (id) and url format string to match the SharePoint string. 

this last one, the LinkButton...actually works.  but it's not how the client wants it implemented.

Ok...so there you go.  Any help is greatly appreciated.

o'g
Tsvetoslav
Telerik team
 answered on 27 Sep 2011
1 answer
66 views
hi all,
 
 I have created treeview inside combobox.I want my combobox to be filled with the items selected in the treeview . Please tell me how to do this.
Thanks and regards
Prasanna B
Princy
Top achievements
Rank 2
 answered on 27 Sep 2011
1 answer
30 views
Can I change interface like a attachment for week view ?
Please refer attachment.
So, is that possible?
Princy
Top achievements
Rank 2
 answered on 27 Sep 2011
1 answer
56 views
I have a gridview that looks great on my machine but some users that have older smaller monitors are having difficulties seeing things like the filter controls and textboxes have different heights than I would like. What is the best way to develop gridviews so they resize correctly according to the users screen size and resolution? Thanks for any advice.
Pavlina
Telerik team
 answered on 27 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?