Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
282 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
375 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
223 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
183 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
6 answers
169 views
Hi
I want to open a tooltip to update a record on a cell click in a Radgrid,
However i dont want to use anything other than a simple bound column with data in the cell,

Can anyone advise me of any method of doing this please.

Many Thanks

Rgds

Darren
Cush
Top achievements
Rank 1
 answered on 30 Nov 2010
1 answer
101 views
Hi,

We have upgraded our custom controls from an earlier version (2008Q3) of Telerik to 2010Q2.
One of them uses a combobox in a very simple matter. The user can select a known value or type something new.
Below the control there are some textboxes that react when the value of the dropdown is changed. When a known value is selected, it gets data from the database, otherwise input is enabled.

There seems to be a problem that when you clear the dropdown (= select all and then do "backspace") no sever event is fired
In the previous version of the control the "textchanged" event was fired, which is imho correct: the text is changed to nothing.

I know I can build around this with ajax and clientside events, but then I have to rewrite the servercontrol (2 of them) and I preferably don't. Maybe there is some property/event that I don't know off? 

Also we love to keep up with the new releases, but because you guys change A LOT each time, it's impossible to keep up. Especially for the designers they don't understand why everything (=classes, nesting) always changes so much.
So upgrading to 2010Q3 is therefore out of the question I'm afraid.

Thanks in advance!
Gompje
Top achievements
Rank 1
 answered on 30 Nov 2010
3 answers
289 views
Is it possible to hide the 'Today' link in the RadScheduler NavigationPage so that only Previous, Next, and the date picker are visible?
Veronica
Telerik team
 answered on 30 Nov 2010
3 answers
122 views
Hi Telerik Team,

I have ComboBox as below which does not get displayed properly after postback. Please refer to attached image (Combobox for 'Existing Documents' ).
 <telerik:RadComboBox ID="rcmbExisting" runat="server" AutoPostBack="true" CausesValidation="false" EmptyMessage="Select Existing"  Width="300px" Height="250px" EnableLoadOnDemand="true" ShowMoreResultsBox="true" EnableVirtualScrolling="true" ItemsPerRequest="250" OnItemsRequested="rcmbExisting_ItemsRequested" />

Please suggest solution.

Thanks in advance. 

 

With Regards,
Reena 

 

Yana
Telerik team
 answered on 30 Nov 2010
2 answers
117 views
Hello,

When l have a RadGrid with the following defined:

<ClientSettings>
<ClientEvents OnCommand="rg_Command" />
</ClientSettings>

I get an error that it cannot find a DataKeyColumn or DataRelation for a DataKeyName I have defined in the grid... on inspection of the grid, when this is defined and no data is present, it binds an empty DataTable with 11 rows, but it's missing the DataKeyName?  What is this table and why is this happening?

Thanks.
Brian Mains
Top achievements
Rank 1
 answered on 30 Nov 2010
3 answers
108 views

I was using the RadTabStrip.Net2 dll in my project. In the project I had RadTabStrip as shown below.

<radTS:RadTabStrip id="TabStrip" runat="server" SkinsPath="resources/Skins/" Skin="SimpleBarBlue" MultiPageID="MultiPage"
SelectedIndex="0" UseEmbeddedScripts="true" OnClientTabSelected="TabCallback" ClickSelectedTab="true" EnableViewState="false"
/>

OnClientTabSelected, I am calling Javascript function "TabCallback" where I find the selected TabIndex and its childIndex as shown below.

function TabCallback(sender, eventArgs) 
  {
    if(!eventArgs.Tab.Tabs[0] || eventArgs.Tab.DepthLevel == 2)
      {
         var tab = eventArgs.Tab.Index;
         var innerTab = 0;
         if(eventArgs.Tab.DepthLevel == 2)
           {
              tab = eventArgs.Tab.Parent.Index;
              innerTab = eventArgs.Tab.Index;
           }
           setCookie("TabID", tab);
           setCookie("InnerTabID", innerTab);
           setCookie("ViewID", eventArgs.Tab.Value);
           window["<%= RadAjaxManager1.ClientID %>"].AjaxRequest
                (tab + "|" + innerTab + "|" + eventArgs.Tab.Value);           
     }
                resize();
  }


Now I am using another dll Telerik.Web.UI . But I am surprised to see these properties like Tab.Index, Tab.Depthlevel, Tab.Parent.Index doesnt work in new dll. Its says the object doesn't support these properties. I really need these functionalities. Can any one tell me the equivalent clientside properties in the new Telerik.Web.UI dll.

And one more thing, I am using the licensed dll and I need quick reply but I dont know how to get a ticket and post my questions. I would like to know about this too..

With Regards
Ravi
Yana
Telerik team
 answered on 30 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?