Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
201 views
Hello,

I have gone through the demo's and manual in relation to the Scheduler Advanced Form but I just can't seem to get it working properly.

I am able to create my own custom fields on the form and have them displayed but I can't figure out how to do things such as populate a combo box in the form.  I have tried re-using the ResourceControl for the combo boxes but can't work out how to populate them with data.

Does anyone have any step by step instructions for a first time RadScheduler user?  I am able to easily get the Scheduler working and populated with data, just can't get the Advanced Form working.

Thanks.
Peter
Telerik team
 answered on 28 Jun 2010
1 answer
174 views
Hi gurus,

I'm experiencing a flicker behavior when integrating RadNumericTextbox in RadGridview. This happens when pressing tabs on the textboxes then clicking them randomly then minimized and maximized the window. Tried to trap it in the OnValueChanged client-event (I have a code in that event so I suspected that the problem is in there) but unluckily it did not run the alert method I added so the OnValueChanged event is clean.

Another instance is copying data from excel to the textbox.

Below is my code snippet:

<telerik:GridTemplateColumn HeaderText="Week Ending" UniqueName="WeekEnding" HeaderStyle-Width="100px" ItemStyle-Width="100px"  
                HeaderStyle-HorizontalAlign="Center" HeaderStyle-Font-Bold="True"> 
                <HeaderTemplate> 
                    <span>Week Ending</span><br /> 
                    (<asp:Label ID="lblWeekEnding" runat="server" />) 
                </HeaderTemplate> 
                <ItemTemplate> 
                    <telerik:RadNumericTextBox ID="txtWeekEnding" Runat="server" Width="99%" style="text-align:center"  
                        ClientEvents-OnValueChanged="txt_OnValueChanged" IncrementSettings-InterceptArrowKeys="false"  
                        IncrementSettings-InterceptMouseWheel="false" ClientEvents-OnKeyPress="txt_OnKeyPress" TabIndex="1" /> 
                </ItemTemplate> 
            </telerik:GridTemplateColumn> 
            <telerik:GridTemplateColumn HeaderText="MTD" HeaderStyle-Width="100px" ItemStyle-Width="100px"  
                HeaderStyle-HorizontalAlign="Center" HeaderStyle-Font-Bold="True"> 
                <HeaderTemplate> 
                    <span>MTD</span><br /> 
                    (<asp:Label ID="lblMTD" runat="server" />) 
                </HeaderTemplate> 
                <ItemTemplate> 
                    <telerik:RadNumericTextBox ID="txtMTD" Runat="server" Width="99%" style="text-align:center" IncrementSettings-InterceptArrowKeys="false"  
                        IncrementSettings-InterceptMouseWheel="false" ClientEvents-OnValueChanged="txt_OnValueChanged"  
                        ClientEvents-OnKeyPress="txt_OnKeyPress" TabIndex="2" /> 
                </ItemTemplate> 
            </telerik:GridTemplateColumn> 

Hope to help me out in this problem.

Regards,

Jouie

Radoslav
Telerik team
 answered on 28 Jun 2010
3 answers
163 views
Here's a weird one. I've got a RadTreeView that works fine and has a few client-side EventHandlers hooked up.  However, when I reload the RadTreeView using a CallBack, suddenly no EventHandlers work.  As a matter of fact, nodes won't even expand/collapse, so it's not just that the custom EventHandlers I've added don't work, even the built-in ones are gone.

What's going on and how do I stop it?

                                                        <telerik:RadTreeView  
                                                            RunAt="server"  
                                                            ID="RadTreeView1"  
                                                            OnClientNodeClicking="nodeClicking" 
                                                            EnableDragAndDrop="true" 
                                                            OnNodeDrop="RadTreeView1_HandleDrop" 
                                                            EnableDragAndDropBetweenNodes="true"> 
                                                            <DataBindings> 
                                                                <telerik:RadTreeNodeBinding  
                                                                    TextField="listitemName" 
                                                                    ValueField="listitemID" 
                                                                    /> 
                                                                <telerik:RadTreeNodeBinding  
                                                                    Depth="0"  
                                                                    TextField="listitemName"  
                                                                    ValueField="listitemID" 
                                                                    Expanded="true" 
                                                                    CssClass="rootNode"  
                                                                    /> 
                                                            </DataBindings> 
                                                        </telerik:RadTreeView> 

Yana
Telerik team
 answered on 28 Jun 2010
1 answer
313 views
I have a worklist (RadGrid) inside a XmlHttpPanel on a page.  The grid gets refreshed every 30 seconds.  The data inside the grid is remaining the same but the size of the post body is growing with every interval.  I am using FF and Firebug to evaluate what is going out on the wire.  I can see that the __EVENTVALIDATION is increasing with each post...below is a sample of the javascript used to invoke the postback...any insight would be greatly appreciated.  Thanks Doug
 var wlCtrlGridID = null;
 var wlCtrlAutoRefreshRate = 10000;
 var wlIntervalId = 0;
function startWorklistRefresh() {
                if (wlIntervalId == 0) {
                    wlIntervalId = setInterval("reloadWorklist();", wlCtrlAutoRefreshRate);
                }
            }
            function reloadWorklist() {
                $find("<%= XmlGridPanel.ClientID %>").set_value("Reload");
            }
            function cancelWorklistRefresh() {
                clearInterval(wlIntervalId);
                wlIntervalId = 0;
            }
            function GridXmlPanel_OnResponseEnded(sender, args) {
                startWorklistRefresh();
            }

<asp:Panel ID="PnlGrid" runat="server" style="margin-top: -4px; margin-left: 3px;">
        <telerik:RadXmlHttpPanel ID="XmlGridPanel" runat="server" OnServiceRequest="GridXmlPanel_OnServiceRequest"
            OnClientResponseEnded="GridXmlPanel_OnResponseEnded" EnableClientScriptEvaluation="true">
            <telerik:RadGrid id="GridWorklist" runat="server" SkinID="main" GridLines="None" style="outline: none;"
                OnItemCreated="GridWorklist_ItemCreated" OnItemDataBound="GridWorklistt_ItemDataBound">.....


Pero
Telerik team
 answered on 28 Jun 2010
3 answers
135 views
I've basically got everything coded for my mini message system. However, I am trying to get so that when a user either adds a message or maintains a message. When going to these screens, and the Sticky check box is selected, it will move the whole row to the top of the grid, if they go back in the maintain section it will remove it and not pin it to the top. What event and code would I go about doing this?
Radoslav
Telerik team
 answered on 28 Jun 2010
1 answer
221 views
In my web application I'm using Entity Framework 4 and ObjectDataSources. It seems I cannot use Grid Automatic Sorting, I get the error:

The data source 'ObjectDataSourceAaa' does not support sorting with IEnumerable data. Automatic sorting is only supported with DataView, DataTable, and DataSet.

Is there some way to do this?
Rosen
Telerik team
 answered on 28 Jun 2010
2 answers
75 views
Hi All:
  In my current project, the upload control is used to upload attachment. However, when the cursor is entered into the textbox in the upload control and chinese pinyin such as google pinyin is opened, the browse button is not available. Can anyone provide the solution for me?
Kamen Bundev
Telerik team
 answered on 28 Jun 2010
1 answer
149 views
Is there any cheat sheet for Telerik Grid control?
Dimo
Telerik team
 answered on 28 Jun 2010
3 answers
105 views
I have a RadWindow1 in my Page1.aspx page which opens up Page2.aspx in my RadWindow1.  In Page2.aspx I have a RadComboBox.  I want the RadWindow1 to always open with ComboBox1.SelectedItem = 0, but everytime the RadWindow is open, it keeps its previous state.  I tried setting EnableViewState = False, but it did not work.
Simon
Telerik team
 answered on 28 Jun 2010
1 answer
205 views
Hello I need to reduce the Distance between ListView Rows to the minimum so that there in no space between them.

I tried a lot of things but the distance remains the same.

The ItemTemplate I'm using is a DIV element.
Rosen
Telerik team
 answered on 28 Jun 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?