Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
92 views
I don't know what else to do to improve Visual Studio 2008 performance when working the asp.net pages (specially with Telerik components). I have a Core 2 Duo + 2 Gb workstation and performance is awful. For every click I do in every operation I must wait 2-3 seconds for operation to complete. I come form a Delphi background where everything was so fast, and now I must use this heavy Microsoft products.

I uploaded a screen capture. http://rapidshare.com/files/317500723/Capture.wmv.html
It shows how much time it takes to type some text inside Teleriks components. Please tell me if this normal.

Thanks a lot!
Jorge

PS: By the way, my workstation has Windows 2003 installed. Should I install another OS to help performance?
Thanks
Warren Rumak
Top achievements
Rank 1
 answered on 10 Dec 2009
2 answers
394 views
I am using RadMenu for a site's main menu (in a master page). When I click on a menu item that takes me to another page, the menu remains active. I can highlight other menu items which can open submenus etc. Clicking menu items does not change the navigation but having the menu and page active can cause confusion.

When the page is changing (user clicks a menu item that navigates away from the page), a wait cursor should appear and the entire page should no longer be active (the user should not be able to browse through the menu or change inputs, press buttons etc.)

I have looked for a solution here, but I have not found one.

I can probably use OnItemClicking and check the navigateURL to make sure the page is changing, then overlay a transparent div on the page and set the cursor to wait...
But, I figure that either the menu may already have this feature or someone has code that has already been written and tested?

TIA
Dean Wyant
Top achievements
Rank 1
 answered on 10 Dec 2009
1 answer
99 views


Using the following code on aspx :

<telerik:RadGrid ID="RadGrid1" Width="100%" AllowColumnsReorder="True" AllowPaging="True" AutoGenerateColumns="True" PageSize="5" runat="server" AllowSorting="true" GridLines="None" ShowStatusBar="true" AllowMultiRowSelection="True">  
  <MasterTableView Width="100%" AllowRowSelect="true">  
<Columns> 
  <telerik:GridTemplateColumn> 
        <HeaderTemplate> 
         SELECT  
        </HeaderTemplate> 
        <ItemTemplate> 
            <asp:CheckBox id="CheckBox1" DataField="ID" OnCheckedChanged="ToggleRowSelection" AutoPostBack="True" runat="server"></asp:CheckBox> 
        </ItemTemplate> 
    </telerik:GridTemplateColumn> 
 
  <telerik:GridImageColumn DataType="System.String" DataImageUrlFields="Filename" 
        DataImageUrlFormatString="~/Upload/Images/Mediaitems/{0}" AlternateText="Customer image" ImageAlign="Middle" ImageWidth="110px"   
        HeaderText="Image Column" FooterText="ImageColumn footer" UniqueName="Picturename"/>  
          
  <telerik:GridTemplateColumn> 
        <HeaderTemplate> 
         Delete image  
        </HeaderTemplate> 
        <ItemTemplate> 
            <asp:CheckBox id="CheckBox2" OnCheckedChanged="DeleteRowSelection" AutoPostBack="True" runat="server"></asp:CheckBox> 
        </ItemTemplate> 
    </telerik:GridTemplateColumn> 
</Columns> 
</MasterTableView>   
  <PagerStyle Mode="NextPrevAndNumeric" /> 
    <FilterMenu EnableTheming="True">  
        <CollapseAnimation Duration="200" Type="OutQuint" /> 
    </FilterMenu> 
</telerik:RadGrid> 

Populate the data :
Protected Sub RadGrid1_NeedDataSource(ByVal source As ObjectByVal e As GridNeedDataSourceEventArgs) Handles RadGrid1.NeedDataSource  
 
        RadGrid1.DataSource = GetDataTable("SELECT * FROM TblMediaitems")  
 
    End Sub 
 
 
    Public Function GetDataTable(ByVal query As StringAs DataTable  
        Dim ConnString As String = ConfigurationManager.ConnectionStrings("varoDb").ConnectionString  
        Dim conn As SqlConnection = New SqlConnection(ConnString)  
        Dim adapter As SqlDataAdapter = New SqlDataAdapter  
        adapter.SelectCommand = New SqlCommand(query, conn)  
        Dim table1 As New DataTable  
        conn.Open()  
        Try 
            adapter.Fill(table1)  
        Finally 
            conn.Close()  
        End Try 
        Return table1  
    End Function 

How can i loop true the datagrid and check the value of "CheckBox1" with another database to set it to true or false ?
Daniel
Telerik team
 answered on 10 Dec 2009
3 answers
300 views
Hi,

I am exporting RadGrid data to excel where I have couple of columns of type date. ExportToExcel() converts those date columns to string type. The date columns are specified as below in my RadGrids.

<telerik:GridDateTimeColumn     FilterControlWidth="120" 
                                                    DataField="NearestEndDate" 
                                                    DataType="System.DateTime"     
                                                    EditFormHeaderTextFormat="{0:MMM dd, yyyy}"
                                                    HeaderText="Next Subscription Expires" 
                                                    UniqueName="columnNextExpiryDate" 
                                                    SortExpression="NearestEndDate" 
                                                    DataFormatString="{0:MMM dd, yyyy}">
        <HeaderStyle Width="140px" />
        <ItemStyle Width="140px" />
</telerik:GridDateTimeColumn>

Any Idea what is the best way to set the format so that when I export this grid to excel the date column format stays same but the type of column should be date.

Regards
Div
Daniel
Telerik team
 answered on 10 Dec 2009
2 answers
203 views
Hello,

How to get filename by select the file on RadFileExplorer?
I like to use server-side codes.

<

 

telerik:RadFileExplorer ID="RadFileExplorer1" Runat="server" Width="100%" Height="300px" EnableOpenFile="false">

 

 

    <Configuration SearchPatterns="*.aspx" ViewPaths="~/forms"></Configuration>

 

 

</telerik:RadFileExplorer>

 


Thanks in advance.
d-cpt
Top achievements
Rank 2
 answered on 10 Dec 2009
1 answer
118 views
I need to bind a different database to various tabs.  Is this possible, or am I going to have to string TabStrips together to get this functionality?

It seems from reading the tutorial on databinding that a TabStrip is limited to a single table.

BTW: search engine still broken.

Cheers!
Mark
Schlurk
Top achievements
Rank 2
 answered on 10 Dec 2009
6 answers
129 views

I one of the grid I set

<

 

ClientSettings Selecting-AllowRowSelect="true">

 

 

</ClientSettings>

 

it is selecting without problem

But it is not working for the anchor,  like i have the following

<

 

telerik:GridTemplateColumn HeaderText="Phone Number">

 

 

<ItemTemplate>

 

 

<a title="Play" ><%# Eval("PhoneNum")%></a>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 
Please help me select the row when i click on the anchor
Regards
Arijit
arijit
Top achievements
Rank 1
 answered on 10 Dec 2009
1 answer
188 views
Hi there,

I am a bit confused about how to add a data point to the chart.  As in MS products, I would do MyChart.Series["SeriesName"].Points.AddXY(....)

When I want to manually add a X and a Y value such as (X = "ProductA" , Y = 50) and (X= "ProductBB", Y =100), how would you do?

Thanks.
Schlurk
Top achievements
Rank 2
 answered on 10 Dec 2009
6 answers
146 views
Hi,

I want to apply a custom skin for RadGrids so I followed the exact instructions mentioned in the documentation, but when I tried to apply it I’ve got many problems, for example:

 

 

  • EditCommandColumn image doesn’t appear.
  • problems related to images alignment (selected row, header,…etc).

 

Note: my grids support RTL.

Dimo
Telerik team
 answered on 10 Dec 2009
1 answer
106 views
Hello,

I want implement to the "(un)check 'Select All' check box automatically" code no in the MasterTable but in a DetailTable.
The difficult is on getting the id of the checkbox in the header beacause I can have either, one expanded DetailTable (i.e for the item 0 in the MasterTable), or several expanded DetailTables (i.e. for the itel 0 and for the item 6 in the Mastertable).
So i have 1, 2, 3 ... IDs.

I was trying to get the GridTableView handing the event "OnTableCreated" this way :

var view; 
function gettingIDs(sender, arg) 
    view=arg.get_tableView(); 

then I reach the property "all". Here I have 9 element (even my TableView have no more than 8 columns), and I reach the element  [1]
that correspond (i think) to the "GridClientSelectColumn" and I get the id (The fist column in my tableView is the GridClientSelectColumn, i dont know what is the element [0]).

Is this the correct ID?
Is there anyway to perform that in a sympler way?

thank you for the help.




Sebastian
Telerik team
 answered on 10 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?