Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
112 views
I used the style builder to to modify the Black skin to use some different colors. I have downloaded the zip. How do I integrate this skin into my app so that it becomes a choice in the dropdown for skin property - so that it would be added as a choice along with the standard skins?
Dimo
Telerik team
 answered on 08 Jul 2010
1 answer
151 views
I am using 2010 Q1 version RadScheduler.  I am using Web service binding to a Custom SQL provider.
When I delete a recurring appointment and choose "delete only this occurance", I got javascript error  "Specified cast is not valid".

Here is my code, anyway I can fix it?  Thanks

                 <telerik:RadScheduler runat="server" ID="RadScheduler1" Skin="Office2007" ReadOnly="false"
                        Height="700px"
                        DayStartTime="07:00:00" DayEndTime="21:00:00"                    
                        FirstDayOfWeek="Sunday" LastDayOfWeek="Saturday"
                        EnableDescriptionField="true"
                        AppointmentStyleMode="Default"
                        OnNavigationComplete="RadScheduler1_NavigationComplete">
                        <AdvancedForm Modal="true" />
                        <TimeSlotContextMenuSettings EnableDefault="true" />
                        <AppointmentContextMenuSettings EnableDefault="true" />
                        <WebServiceSettings Path="~/Services/CalendarService.asmx" />
                    </telerik:RadScheduler>
T. Tsonev
Telerik team
 answered on 08 Jul 2010
3 answers
123 views
Hi,
I have Scheduler in my aspx form. I need to bind the events in the scheduler. I have an issue in binding the Provider for that scheduler. I have seen the demo where i found the Provider was set as XMLSchedulerProvider.

 provider = new XmlSchedulerProvider(Server.MapPath("~/App_Data/Appointments.xml"), false);
 
But I have the data as an IList collection. I dont know how  to convert it into XmlScheduler and bind to the source.

Please help me. is there any direct way  to convert the iList to XmlScheduler ? I need urgent solution for this, I have reffered the following link but dint get complete understanding.
http://demos.telerik.com/aspnet-ajax/scheduler/examples/xmlschedulerprovider/defaultcs.aspx

Thanks in advance,
Hema
Peter
Telerik team
 answered on 08 Jul 2010
7 answers
221 views
hello

i have made customize slider by setting properties of RadSlider as

EnableEmbeddedSkins

 

="false"
EnableEmbeddedBaseStylesheet="false" 
and set a customize skin.
everything is working properly but i am not able to make dragtext disable.
dragtext appears along with drag image.

if anyone has a solution. please let me know..

thanks
kamini

 

 

 

 

 

 

 

kamini
Top achievements
Rank 1
 answered on 08 Jul 2010
1 answer
227 views
Hi,

I am creating several radgrids dynamically via my code at runtime and placing them accordingly within a dynamically created pageview on a page. How can I stop them from posting back to the page and still let the user page the grid? Is this even possible?

I have tried looking through your client-side api but I can't seem to just find a section about client-side paging. I have even tried dynamically creating an updatepanel, adding the grid its content template and then adding the panel to the controls of the pageview and still no joy.

Here is my code to create the grid:

RadGrid rgrdSection = new RadGrid(); 
rgrdSection.ID = "grd" + (i+1).ToString(); 
rgrdSection.AutoGenerateColumns = false
rgrdSection.AllowSorting = false
rgrdSection.Width = Unit.Percentage(97.0); 
rgrdSection.AllowMultiRowSelection = false
                rgrdSection.ShowStatusBar = true
                rgrdSection.AllowPaging = true;                 
                rgrdSection.PageSize = 8;                 
                rgrdSection.AlternatingItemStyle.BackColor = System.Drawing.ColorTranslator.FromHtml("#979EB8"); 
 
                // Add columns 
                GridBoundColumn boundColumn = new GridBoundColumn(); 
                boundColumn.DataField = "user_key_7"
                boundColumn.HeaderText = "Sub-Chapter"
                rgrdSection.MasterTableView.Columns.Add(boundColumn); 
 
                rgrdSection.PagerStyle.Mode = GridPagerMode.NumericPages; 
                rgrdSection.PagerStyle.Position = GridPagerPosition.TopAndBottom; 
                rgrdSection.ClientSettings.EnableRowHoverStyle = true
                rgrdSection.ClientSettings.EnablePostBackOnRowClick = false
                rgrdSection.ClientSettings.Selecting.AllowRowSelect = false



Any ideas?
Thanks,

Ian W
Veli
Telerik team
 answered on 08 Jul 2010
3 answers
123 views
Hi,

When we perform an action on an edited row all other edited rows are rebinded, their states are not persisted. So, how could we preserve other edited rows states ?

Thanks !

@loys
Yavor
Telerik team
 answered on 08 Jul 2010
1 answer
844 views
Hi,
i want to set the height if row.
i wrote like CS,
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) 
    { 
        if (e.Item is GridDataItem) 
        { 
            GridDataItem item = (GridDataItem)e.Item; 
            item.Height = Unit.Pixel(10); 
        } 
    } 
 
but it is not working.reply me
Dimo
Telerik team
 answered on 08 Jul 2010
1 answer
105 views
Hi all
i am using 3- numeric text box in sequence . 
my java script code like this

               Client_radNumericA = '<%= txtLami_1.ClientID %>';
                Client_radNumericC = '<%= txtLami_3.ClientID %>';
                radNumericA = $find(Client_radNumericA);
                radNumericC = $find(Client_radNumericC);
                radNumericC._textBoxElement.value = parseFloat(radNumericA._textBoxElement.value).toFixed(2).toString();

when focus gone on "radNumericC " the value of "radNumericC " is clear.

any body have the solution?


Thanks in advance
Jagdish Prajapati


Dimo
Telerik team
 answered on 08 Jul 2010
1 answer
142 views

Hi,

I have 3 radtabs each one containing a radgrid. In the first tab you have all the to-be-classify registers, there can only be two types of registers ( A and R). So for example if you mark 10 registers on the first radgrid and classify them, the first radgrid rebinds (using the needDataSource event) and everything is fine, but if I change tab and look at any of the two other radgrids neither will be updated. I have to refresh the page if I want to see the changes.

In my code in the NeedDataSource event setting the DataSource for the 3 radgrids but only seems to be working for the selected radgrid (because if I change the classification from A to R in the second radgrid I wont see the registers that does not belong to this radgrid anymore but I don't see the changes on the R radgrid)

here is my code (I dont use any AjaxManager, all is being done only by Postbacks) 

Protected Sub setStatus(ByVal source As ObjectByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGridClientes.ItemCommand  
 
        If e.CommandName = "rejectStatus" Or e.CommandName = "approveStatus" Then  
            Dim item As Telerik.Web.UI.GridEditableItem = DirectCast(e.Item, Telerik.Web.UI.GridEditableItem)  
            Dim newStatus As String = "0"  
 
            If e.CommandName = "approveStatus" Then  
                newStatus = "A"  
            ElseIf e.CommandName = "rejectStatus" Then  
                newStatus = "R"  
            End If  
 
            updateRecord(item, newStatus)  
            Me.RadGrid1.Rebind()  
 
        End If  
    End Sub 

 Protected Sub RadGrid_NeedDataSource(ByVal source As ObjectByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RadGrid1.NeedDataSource, RadGridA.NeedDataSource, RadGridR.NeedDataSource  
        Dim ws As New webService  
 
        RadGrid1.DataSource = wsNC.fillStatus("0")  
        RadGridA.DataSource = wsNC.fillStatus("A")  
        RadGridR.DataSource = wsNC.fillStatus("R")  
 
    End Sub 

Rosen
Telerik team
 answered on 08 Jul 2010
6 answers
279 views
Hi,
I have tried out your radprogressarea for feeding progress back to the client for long running server side processes and it works really well, what I was wondering is whether you have any way of updating eg. custom text boxes or populating grids using a similar method (I don't think ajax can do what I want to do)?
a good example of what I want to achieve would be a grid full of pc names where the client fires off a server side script to ping them, the replies (progress) would then update the grid in real time to show success or failure.
Tsvetoslav
Telerik team
 answered on 08 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?