Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
67 views
I have a RADTreeView that has a context menu item. When the context menu item is clicked a RADWindow is called and made visible to the end user for input. After the user is finished inputting, the data is inserted into a database. This data then becomes a ndoe within the RADTreeView.

What I want is for the RADTreeview to reflect this change in after the RADWindow is closed. Is this possible?

Right now, the only way for the changes to be reflected is to refresh the whole page.

Any help would definitely be appreciated. Thank you.



PJ
Princy
Top achievements
Rank 2
 answered on 01 Dec 2010
0 answers
71 views
Hi .
    when i try to  bind data to grid it showing the error like this htmlfile: Unknown runtime error.It also showing error when i click the next page(paging) in grid.

Can  any one tell me what is the problem  here.And how to over come it.

Thank You.
Suresh K.
Suresh K
Top achievements
Rank 1
 asked on 01 Dec 2010
9 answers
80 views
Hi Guys,
I have been fighting with this for weeks. Please help.

I am using a RadGrid which has a GridClientSelectColumn column, but ClientEvents does not fire the OnRowSelected.
The Grid gets updated using the SelectedValue of dropdown. If I poplulate the RadGrid without using the dropdown, it works just fine. If I populate the RadGrid , it populates the RadGrid  properly but ClientEvent does not fire.

Here is my code snippet:

RadGrid gets refreshed properly by selected value of a DroDown.

<radG:RadGrid  
                                        ID="rgClient_Mgt"    
                                        runat="server"  
                                        EnableAJAX="True"  
                                        AllowSorting="True"
                                        AutoGenerateColumns="False"
                                        DataSourceID="odsClient_List"                                       
                                        GridLines="None"
                                        PagerStyle-Mode="NextPrevNumericAndAdvanced"
                                        OnItemCreated="rgClient_Manage_ItemCreated"
                                        OnItemCommand="rgClient_Manage_ItemCommand">
                                        <MasterTableView EnableViewState="true" DataKeyNames="ClientID,LName,FName" AutoGenerateColumns="False" DataSourceID="odsClient_Manage" >
                                            <Columns>                                   
                                                <radG:GridClientSelectColumn UniqueName="ClientID" HeaderText="Select" />
                                                <radG:GridBoundColumn DataField="ClientID"  HeaderText="ClientID" SortExpression="ClientID"
                                                    UniqueName="ClientID">
                                                </radG:GridBoundColumn>  
                                                </MasterTableView>
                                        <ClientSettings>
                                            <ClientEvents
                                                OnRowSelected   ="Client_to_Add" >                                                
                                            </ClientEvents>
                                            <Selecting AllowRowSelect="True" />
                                        </ClientSettings>                     
                                    </radG:RadGrid>

java script code:
function Client_to_Add(row)
{
    alert("Hi");
}

Mustaque Bhuiyan
Top achievements
Rank 1
 answered on 01 Dec 2010
1 answer
179 views
Hi everyone,

I want to open an aspx page inside an update panel or any other way possible to import that page inside another aspx page available in any tools of telerik ?
Shinu
Top achievements
Rank 2
 answered on 01 Dec 2010
2 answers
71 views
During Itemdatabound  event, what is the best way to know if it came from Insert or Edit. Right now Im filtering Itemdatabound  using this condition:

if (e.Item is GridEditableItem && (e.Item as GridEditableItem).IsInEditMode)
  
however both Insert and Edit event makes the above statement true.
Web team
Top achievements
Rank 1
 answered on 01 Dec 2010
0 answers
114 views

Posted 0 minutes ago (permalink)

Hi,

   I am working with RadScheduler.For my case,I customize the Rad Scheduler for Events.
Created Event with Subject,Start Date ,EndDate Field.It works well .I have to incorporate Recurrence in the RadScheduler .
For the Recurrence ,I added RecurenceParent ID and Recurence Rule in the Event Table.

  And What are the thing to do .?If the Event does not have recurrence i saved the recurrence ParentID as zero.
But its not working .Please give me the following details.

1.What are the things to be saved in recurrence rule?
2.Is the Recurrence Parent id as Event ID or Shall i need to create child table for this.>

i maintained all are the things in the Event Table only .Please give me any procedure to incorporate recurrence .

Thanks in advance
Prabha
    
prabha
Top achievements
Rank 1
 asked on 01 Dec 2010
4 answers
324 views
Hi ALL,

          I have one progress rad window page, when any operation perform i need to open that page,i have one timer control on page, on timer tick event i have check the current stage of running process and according to that i am defining label value, but now i want ProgressBar on same page, when any process will run Process Page should open and progress bar will display the current status of process...same like In windows 7 when we try to copy the content the process of copying progress bar.please help me and is it possible with telerik progress bar control? or any suggestion.

Thanks
Kaushal
Top achievements
Rank 1
 answered on 01 Dec 2010
6 answers
307 views
Should it be possible to apply a cursor to the browse button? How?
I'm trying as below.
I get a hand when positioned at border but then it disappears when over button (text is blue so it seems as this selector is found).

.RadUpload .ruBrowse
{
 cursor: pointer !important;
 color: blue !important;
}

/ Peter
Minh Đinh
Top achievements
Rank 1
 answered on 01 Dec 2010
2 answers
409 views
Dear All

I have a snippet of vb code that is used to loop through the columns in a radgrid and save away key data relating to a user view of the grid. The data is save to a sql-server table. The code worked fine when all the columns were of type BoundColumn, however I now have a few TemplateColumns as well.

So, how can I look through the columns of the radgrid, identify the column type, pick up the current attributes from that column and save them to a Sql table.

Here is the code that I currently have which works great for BoundColumns

        Dim column As Telerik.Web.UI.GridBoundColumn

        For Each column In theGrid.Columns
            If column.DataField.Length > 0 And column.OrderIndex > 0 Then
                strSQL = "INSERT INTO wt264PageSettingsColumns (ColumnID, Text, Format, DataFormat, Visible, Value, OrderIndex, Aggregate, FooterText) SELECT '" & ColID & "', '" & RTrim(column.HeaderText) & "', '" & column.DataType.ToString & "', '" & RTrim(column.DataFormatString) & "', '" & column.Display & "', '" & RTrim(column.DataField) & "', '" & column.OrderIndex & "', CASE WHEN '" & Len(RTrim(column.FooterText)) & "' > 0 THEN 1 ELSE 0 END, '" & RTrim(column.FooterText) & "' "
                Dim Command000e As SqlClient.SqlCommand = New SqlClient.SqlCommand(strSQL, myComponent.SqlConnection1)
                Command000e.CommandTimeout = 5000
                Command000e.ExecuteNonQuery()
            End If
        Next

Thanks in advance

S Watton




Stuart Watton
Top achievements
Rank 2
 answered on 30 Nov 2010
4 answers
251 views
Sorry to start a new thread, but I searched this forum and couldn't find exactly what I'm looking for - I'm sure it's here, but there are 14,000 threads and I probably just couldn't get my query phrased right. Anyway...

I have a RadGrid that uses an SQLDataSource with a parameterized stored procedure. The params are derived from combo lists. I have default values for the parameters so that data will display when the page displays but no list items have been selected. Even though I have default values defined but the grid remains empty. 

<

 

 

asp:ControlParameter ControlID="cboState" Name="State" PropertyName="SelectedValue" Type="String" DefaultValue="WI" />

 

<

 

 

asp:ControlParameter ControlID="NamesDDL" Name="EquipmentCategory" PropertyName="SelectedValue" Type="Empty" DefaultValue="6fd56151-7b0a-43e9-beba-f55032e5a7a4" />

 

Thomas Derenthal
Top achievements
Rank 1
 answered on 30 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?