Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
42 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
71 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
150 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
55 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
87 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
281 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
274 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
371 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
216 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
3 answers
173 views
I am having a strange issue.
I can Delete folder, I can upload image, I can move image, I can move folder. I CANNOT create new folder.
Windows Internet Explorer popup msg after click 'new folder' with calling it mytestfolder

Request for the permission of type system.security.permissions.FileIOPermission,mscorlib, Version= 2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Any ideas? I got the ISP to grant the iuser acct full prvlg and that did not get rid of the issue.
<telerik:RadScriptManager ID="RSM" runat="server"></telerik:RadScriptManager>
  <telerik:RadFileExplorer Width="400" ID="RadFileExplorer1" Runat="server">
            <configuration DeletePaths="~/Images/CMS"  
            UploadPaths="~/Images/CMS" 
             MaxUploadFileSize="200000"
            ViewPaths="~/Images/CMS"/>
            <Configuration />
        </telerik:RadFileExplorer>

I also went to the point of adding the following to my web.config

 

<location allowOverride="true" path="~/Admin"> 
  <system.web>
    <trust level="Full" originUrl="" />
  </system.web>
</location>


with no result.


mac
Top achievements
Rank 1
 answered on 30 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?