Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
135 views
I am using the Telerik ASP.net AJAX controls to deploy a website to a shared hosting server (Arvixe).  The site works just fine on my local server but when I FTP it to my shared hosting provider, the control (in this case grid control) does not function.  Basically I have done the following to publish my site:

1) FTP the website files to the wwwroot directory of my domain
2) FTP the Telerik .dll files to the Bin directory under the wwwroot directory of my domain

I have attempted to create the "virtual directory" as the Telerik online documentation suggests (pointing the virtual directory at the Bin directory) but this does not seem to help.  Here is the link to the documentation I attempted to follow -- http://www.telerik.com/help/aspnet-ajax/introduction-deploying-on-shared-hosting.html .  I tried calling the bin file a virtual directory but it does not seem to help. 

No errors are triggered when I resolve to the domain.  The Telerik grid control display just fine on the shared host but any of the grouping, filtering functions do not work.  When I run the website on my local server, the grouping and filtering functions operate just fine.

Has anyone had similar problem, and if so how did you resolve this issue?
Maria Ilieva
Telerik team
 answered on 23 Jan 2012
1 answer
331 views
Hi, I would like to add a rounded corner style to the Treeview nodes. I have attached a mock up of what I am looking for.

Does Telerik support the "border-radius" css property? Alternately is there another way to achieve this effect?

Any suggestions, examples, pointers or code would be very welcome.

Regards
Gary
Princy
Top achievements
Rank 2
 answered on 23 Jan 2012
1 answer
169 views
Hello,

Telerik.Web.UI Version 2010.3.1317.35

I have 2 RadListBox controls defined as follows:

 

 

<div id="dFieldSelection" style="padding:5px;" runat="server">

 

 

 

<telerik:radlistbox runat="server" DataTextField="Name" DataValueField="FieldID" ID="radListBox_1" AllowDelete="True"

 

 

 

AllowReorder="True" AllowTransfer="True" AutoPostBackOnTransfer="true" AutoPostBackOnDelete="true" TransferToID="radListBox_2">

 

 

 

</telerik:radlistbox>

 

 

 

<telerik:radlistbox runat="server" ID="radListBox_2"

 

 

 

AutoPostBackOnTransfer="true" AutoPostBackOnDelete="true"

 

 

 

ondeleting="radListBox_2_Deleting"></telerik:radlistbox>

 

 

 

</div>

I programmtically place some mandatory fields into radListBox_2...  my goal is to prevent a user from deleting these mandatory items from radListBox_2 (i.e. I have noticed that the radListBox_2_Deleting server side event get executed when the user presses the arrow button to transfer an item back to radListBox_1).

Inside of radListBox_2_Deleting server side event I simply do some code checks and if this is a mandtory item I set e.Cancel = true... hoping that that will cancel the deletion.  However, this does not appear to work as I expected.

How can I prevent a user from moving 1 RadListBoxItem from radListBox_2 back into radListBox_1?

Thx in advance!!!

 

Bozhidar
Telerik team
 answered on 23 Jan 2012
1 answer
92 views
Hello Telerik,

I have as RadScheduler that picks up my start and end dates from a datatable. There are other fields I need to put in between the time span of the start and stop dates which ispart of the same appointment. Now say I have a StartDate of 1/1/12 and an EndDate of 1/15/12. I have another field called "CutoffDate" which is 1/13/12, I need to put an image on that day INSIDE the bar for the time span of the 1/1/12 and 1/15/12 appointment on the RadScheduler.

Is this possible?

Thanks
SDI
Plamen
Telerik team
 answered on 23 Jan 2012
1 answer
106 views
We have a RadGrid with 9 columns.  We want to use a RadEdiotor for 3 of the columns and have this working except that the performance becomes terrible when there are many rows.   For example, with 200 rows in the RadGrid, with the 3 Editors per row, it takes about 30 seconds to load the page.

I realize that we could implement paging and keep it to less than 10 or 20 rows, but this experience does not work well in the situation we need to handle.

I have seen tips on improving performance for multiple RadEditors on a page, but not specifically to multiple RadEditors within a RadGrid.

Can you give us any tips on how to handle this better.

Thanks... Terry


.
Rumen
Telerik team
 answered on 23 Jan 2012
2 answers
125 views
Dear all Guru's
I have a grid as below

<telerik:RadGrid HeaderStyle-Wrap="false" ItemStyle-Wrap="true" ID="gvCustomers"
            runat="server" AutoGenerateColumns="False" GridLines="None" AllowSorting="true"
            OnNeedDataSource="gvCustomers_NeedDataSource" OnItemCommand="gvCustomers_ItemCommand">
            <MasterTableView DataKeyNames="CustomerId">
                <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
                <RowIndicatorColumn>
                    <HeaderStyle Width="20px"></HeaderStyle>
                </RowIndicatorColumn>
                <ExpandCollapseColumn>
                    <HeaderStyle Width="20px"></HeaderStyle>
                </ExpandCollapseColumn>
                <Columns>
                    <telerik:GridBoundColumn DataField="Title" HeaderText="Title" UniqueName="Title">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="FName" HeaderText="First Name" UniqueName="FName">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="LName" HeaderText="Last Name" UniqueName="LName">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="CompanyName" HeaderText="Company" UniqueName="CompanyName">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Address1" HeaderText="Address 1" UniqueName="Address1">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Town" HeaderText="Town" UniqueName="Town">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Postcode" HeaderText="Postcode" UniqueName="Postcode">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Telephone" HeaderText="Tel" UniqueName="Telephone">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Mobile" HeaderText="Mobile" UniqueName="Mobile">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Email" HeaderText="Email" UniqueName="Email">
                    </telerik:GridBoundColumn>
                    <telerik:GridButtonColumn Text="Select" CommandName="Select" ButtonType="LinkButton"
                        UniqueName="column">
                    </telerik:GridButtonColumn>
                    <telerik:GridButtonColumn Text="Edit" CommandName="EditCustomer" ButtonType="LinkButton"
                        UniqueName="EditCustomer">
                    </telerik:GridButtonColumn>
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>
And the code behind wired up as follows:
protected void gvCustomers_ItemCommand(object sender, GridCommandEventArgs e)
       {
           if (!IsPostBack)
           {
               var item = (GridDataItem) e.Item;
               string id = item.GetDataKeyValue("CustomerId").ToString();
 
               if ((e.Item is GridDataItem) && (e.CommandName == "EditCustomer"))
               {
                   var destination = string.Format("CustomerEdit.aspx?CustomerId={0}", id);
                   Response.Redirect(destination);
               }
 
               if ((e.Item is GridDataItem) && (e.CommandName == "Select"))
               {
                   var destination = string.Format("CustomerDetail.aspx?CustomerId={0}", id);
                   Response.Redirect(destination);
               }
           }
            
       }
When I sort the grid on the header I get the following error. 

 Unable to cast object of type 'Telerik.Web.UI.GridHeaderItem' to type 'Telerik.Web.UI.GridDataItem'.

Obviously if I wrap the ItemCommand in a if(!IsPostback) it doens't error but then I lose the functionality of my command buttons in the Grid.

Can someone tell what I have missed here?

Many thanks for any help
Simon
Top achievements
Rank 1
 answered on 23 Jan 2012
1 answer
135 views
Hello
I have RadGrid Q3 2008 and using VB.Net
I have created a Status/Detail reporting system that uses the classic Master Detail Telerik example as seen at http://www.telerik.com/help/aspnet-ajax/grid-related-grids.html 

Everything appears to work fine except when I click on a master row item the detail grid does not automatically update unless I click on the refresh button. I am using Ajax Manager.  My datakeys appear to be correct since everything turns out correctly when I press the Refresh button.

PS. I do note that when I turn off Ajax for both grids then they update correctly.

I'm sure that I'm overlooking something.
Your help would be appreciated.

regards,

Ted


Shinu
Top achievements
Rank 2
 answered on 23 Jan 2012
1 answer
74 views
Hey peeps,

We have a RadGrid on a page that shows a list of all records in a specific table. With this, the user has selectable options for filtering the information in a seperate space above the Grid (not using the RadGrid filtering options - we are still using an older version of Telerik and the current set does not provide a checkboxlist which we require. The current filtering options does not provide the functionality we need to enable the filtering and besides this, the current options available will be too difficult for our users to understand.).

The user then makes his/her selection from the available filtering options (on the coding side, I programmatically create the SQL query needed to retrieve records according to the selection). This query is then assigned to the SqlDataSource (SqlDataSource1.SelectCommand = 'query'). When the user clicks the Filter button, the RadGrid populates with the results from the new custom query. HOWEVER, when I click on the next page or click on any other page number, the Grid populates from scratch and does not keep the filtering. I have tried to use the FilterExpression on the SqlDataSource, the same happens. First page shows the filtered results but when moving to the next or previous page, the data is "reset".

How can I have the Grid reflect ONLY the data obtained from the new query?
Mira
Telerik team
 answered on 23 Jan 2012
17 answers
346 views
Hi,
  I need to create buttons with variable heights and color theme as in my attached sample image. I succeeded creating various color theme but i'm not able to change the height of the button as its mentioned in button.css. Can anybody help me out to get this done.

Thanks,
Selva
Bozhidar
Telerik team
 answered on 23 Jan 2012
0 answers
62 views
Hi,

I have a main page with a RadAjaxManager on it, 2 dock zones and docks within those zones. The docks contain Web User Controls, whose ID's are known and no new Controls will be dynamically added. Each of these docks have a DockCommand that open up a RadWindow. What I am trying to achieve is that once the RadWindow closes or the save button in the RadWindow is clicked (effectively closing the window anyway) the UserControl in the dock that the RadWindow was opened from needs to rebind. 

Any help with this please?

Thanks
Marcel
Marcel
Top achievements
Rank 1
 asked on 23 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?