Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
201 views
I don't think there is any way of doing this but I figured I would ask in case someone out there is a genius. I have multiple recurring appointments created and I am trying to find a way to sum up or count the total hours I have scheduled. For example, an appointment is setup for Monday 8-5, which is 9 hours. If the appointment reoccurs every Monday for a year, how many hours do I have scheduled? I know I can take 9 x 52, but that isn't exactly exact. Besides if I have a time frame 1/1 to 4/1 and/or multiple records for Monday.
I need a way, more or less, of showing the client how many hours they have scheduled in a given time period.

Anyone have any suggestions?
Peter
Telerik team
 answered on 23 Mar 2010
10 answers
307 views
Hi ,
In our application we are giving provision to user  Filter grid data  and Edit functionality but edit is not working correctly after applying the filters , grid set first row in edit instead of first row of filter data items. 
if any one implemented  like this ,  please let know me approach you followed . 

Koteswararao    
chinna
Top achievements
Rank 1
 answered on 23 Mar 2010
2 answers
131 views
Hi there,

I have a radgrid which is created dynamically in C#. Now I want to add a new dynamic row which should be different in every row. I have managed adding a new link coloumn, however it seems same in every row.

Here is the code;

        public void Gridi_Getir() 
        { 
            DataSet musteriDataSet = new DataSet(); 
            musteriDataSet = bllMusteri.MusteriGetir(); 
            DataView musteriDataView = musteriDataSet.Tables["Musteriler"].DefaultView; 
            RadGrid1.DataSource = musteriDataView; 
             
            for (int i = 0; i < musteriDataView.Count; i++) 
            { 
                dtoMusteri musteri = new dtoMusteri(); 
                musteri.MusteriID = Convert.ToInt32(musteriDataView[i].Row.ItemArray[0]);  
                HesapKartlariniGetir(musteri, i); 
            } 
 
            RadGrid1.DataBind(); 
        } 
 
        public void HesapKartlariniGetir(dtoMusteri musteri, int k) 
        { 
            ArrayList hesapKartlari = bllMusteriHesapKarti.MusteriIDyeGoreMusteriHesapKartiGetir(musteri.MusteriID); 
 
            for (int i = 0; i < hesapKartlari.Count; i++) 
            { 
                //TableCell cell = new TableCell(); 
 
                //cell.Text = ((CoalSoft.DTO.dtoMusteriHesapKarti)(hesapKartlari[i])).MusteriHesapKartiAdi; 
 
                GridHyperLinkColumn column = new GridHyperLinkColumn(); 
                //column.InitializeCell(cell, i, RadGrid1.Items[k]); 
                column.ItemStyle.Font.Name = "Tahoma"; 
                column.Text = ((CoalSoft.DTO.dtoMusteriHesapKarti)(hesapKartlari[i])).MusteriHesapKartiAdi; 
                column.NavigateUrl = "MusteriHesapKartiDetay.aspx?MusteriHesapKartID=" + ((CoalSoft.DTO.dtoMusteriHesapKarti)(hesapKartlari[i])).MusteriHesapKartiID; 
 
                RadGrid1.Columns.Insert(i + 4, column); 
            } 
        } 

Thanks.
Veli
Telerik team
 answered on 23 Mar 2010
4 answers
233 views
Hi,
    Basically i want to fire the following server side code 
GridFilteringItem filterItem = (GridFilteringItem)((RadComboBox)o).NamingContainer;filterItem.FireCommandEvent("Filter", new Pair("Contains", this.UniqueName));

form client side when we press the enter key at the input box having the autocomplete enable in the grid.


Thanks in advance,
Sanjeev
Sanjeev
Top achievements
Rank 1
 answered on 23 Mar 2010
1 answer
103 views
Has anyone ever seen the issue where a timeline appt goes into the wrong day based on the current time? It looks like when I add an appt, it moves from previous day to current day based on the time of day. i.e. an appt that has a date/time of 3/14/10 2:30 PM - 3/14/10 4:00 PM the appt spans two days if the current time is say 2:45 PM. If I make the appt to be 3/14/10 3:00 PM - 3/14/10 4:00 PM it stays on one day and does not span 2.

Any help is much appreciated. I think I just don't have a setting right????
Peter
Telerik team
 answered on 23 Mar 2010
3 answers
154 views
Hi,
I have a TimelineView that spans multiple days even though the appointment is set for one day only. For example the Start Date/Time and End Date/Time are on 3/12/10 but the TimelineView shows a start on 3/11/10 going into 3/12/10.

Probably something easy which I just am not getting.

Any help is appreciated. I attached screenshots.
Peter
Telerik team
 answered on 23 Mar 2010
1 answer
150 views
Can someone point me to a working example of a hierarchical parent-child rad grid using EntityDataSources?  I can display the parent table, but when I click to expand the child table, I get the following error:

'ClientID' is not a member of type 'WebcomKBModel.wc_Goal' in the currently loaded schemas., near multipart identifier, line 1, column 8.

I believe this is because my key field is not called "ClientID" in the child schema created by the EDMX modeler.  Its a navigational field which may need to be referenced with another name?   If anyone can point me to some working example that shows how the EntityDataSource should be setup for a Parent to Child relationship in a hierarchical grid, that would be great!

I can do it with a SqlDataSource, but not an EntityDataSource.

Pavlina
Telerik team
 answered on 23 Mar 2010
1 answer
113 views
Hi Folks,

I have my datagridview in aspx and i have certain code like this:-
<asp:GridView runat="server" AllowSorting="True" AutoGenerateColumns="False" Width="100%" ID="gvProductCode" meta:resourcekey="gvProductCodeResource1"> 
            <Columns> 
            <asp:CommandField ShowSelectButton="True" meta:resourcekey="CommandFieldResource1"> 
                <HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle> 
                <ItemStyle HorizontalAlign="Center"></ItemStyle> 
            </asp:CommandField> 
            <asp:BoundField DataField="vchProductCode" HeaderText="Product Code" SortExpression="vchProductCode" meta:resourcekey="BoundFieldResource1"> 
                <HeaderStyle HorizontalAlign="Center"></HeaderStyle> 
                <ItemStyle HorizontalAlign="Left"></ItemStyle> 
            </asp:BoundField> 
 </Columns>             
        </asp:GridView> 

now i replaced my datagridview with a RadGrid...can anyone please let me know the code that i should replace.....with the above code with respect to RadGrid...urgent help required.

Thanks
Satya
Pavlina
Telerik team
 answered on 23 Mar 2010
1 answer
114 views
 Hi,

The "Enabled" property of RadScheduler is not working properly with Firefox.
Please check it out.

RadScheduler1.Enabled = false; 

Lior S
Top achievements
Rank 1
 answered on 23 Mar 2010
2 answers
71 views
Hi,

   Filter is giving error when we enter ';' (semo colon) in the filter control. Please send me the solution asap.

thanks,
Raj
Raj J
Top achievements
Rank 1
 answered on 23 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?