Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
117 views
Hi.
My problem is that i can't edit RadComboboxDropDow's without affect to the RadCombobox's size.
Which element in Css should i edit to take affect to RadComboboxDropDow only.
Is there any ways to do? Please let me know.

In additon, it's very great if you can give a figure that show a skin with exactly every element edited.

Thanks and regard.
Trần
Top achievements
Rank 1
 answered on 07 Mar 2011
1 answer
112 views
I'm using the Ajax radcontrol develop website. all is working well. but when I using the gogrid CDN, I got the Javascript error.  ‘Sys' undefined, 'Telerik' undefined. all ajax control are not working. lost all skins.

I try to find out what's problem, but I can't. could anyone help me on this?  Thank you very much.
Mira
Telerik team
 answered on 07 Mar 2011
1 answer
121 views
Hello,

I have a grid that I have Ajaxified in my page by setting the grid as self-updating in my AjaxManager control.  That is, the settings look like this:

<telerik:AjaxSetting AjaxControlID="rgdMyGrid">
    <UpdatedControls>
        <telerik:AjaxUpdatedControl ControlID="rgdMyGrid" />
    </UpdatedControls>
</telerik:AjaxSetting>

This has worked to Ajaxify the regular grid functions of filtering and sorting just fine.  What I would like to do is have the usercontrol that I load for row-editing be Ajaxified, as well.  I have several radcombo boxes that I would like to update one another in the form.

Does the edit form fall within the radgrid's AjaxManager settings already (so that i shouldn't have to put in new settings for those controls?)

So far, the only way I can get these edit form combo boxes to update one another is to set them for autopostback=true.  I have functions defined in the code-behind to handle the onselectedindexchanged events.  I assumed that these would be used by the Ajax functionality if it worked (which it so far hasn't).

Do I need to autopostback for controls inside my usercontrol edit form?  Should I be Ajaxifying them differently?

Mike
Mira
Telerik team
 answered on 07 Mar 2011
1 answer
74 views
I am styling the Telerik menu using only CSS (no skins).  It is working fine and the results are good, except...I would like to visually separate cascading groups.

I have attached a small screen capture of the current menu with the "Buy" menu selected, and the detail "Search..." item selected.  The items to the right (Search by City, Search by Zip Code, etc.) are items under "Search...".

I would like to visually separate the lower level group (Search by City, Search by Zip Code, etc.) from the second level (Search..., Buying a Home, etc.) with a small (say 3 or 4 pixel) gap where the RED line is drawn on the graphic.

I should probably add that I am NOT setting the width of the items, I am letting the width "float" automatically based on the text contents.

Can you tell me how I can do this using CSS?

Thank you in advance for the assistance!

Lynn
Kate
Telerik team
 answered on 07 Mar 2011
2 answers
69 views
Let's say I have the following classes:

Public Class AddressBook
      Public Property OwnerName As String
    Public Property Friends As IList(Of Contact)
    Public Property Family As IList(Of Contact)
    Public Property Colleagues As IList(Of Contact)
 
End Class
 
Public Class Contact
    Public Property Address As Address
    Public Property Name As String
    Public Property Phone As String
    Public Property DateOfBirth As Date
    Public ReadOnly Property Age As Integer
        Get
            Return Math.Floor((Date.Now - DateOfBirth).Days / 365)
        End Get
    End Property
End Class
 
Public Class Address
    Public Property StreetNumber As Integer
    Public Property StreetName As String
    Public Property ZipCode As String
End Class

Is it possible to Databind the grid to the AdressBook and have the detail tables assigned automatically to properties like Friends, Family and Colleagues ? And then Adress to contact ?

Is it doable declaratively from the aspx file ?
Martin
Top achievements
Rank 1
 answered on 07 Mar 2011
3 answers
113 views
2010.3.1304.20  IE8

In "Design" mode is fine, but in in "HTML" mode something strange goes on with below:
Height of the control not in line with data displayed and scroll bars come up.   Most of the data after first line is hidden.

<telerik:RadEditor ID="txtExplain" AutoResizeHeight="true" BorderStyle="None" BorderWidth="0px" EditModes="HTML"
                    ToolsFile="~/Resources/EmptyTools.xml" Width="720px" Height=”30px” style="height:auto" StripFormattingOptions="All"  runat="server">
</telerik:RadEditor>
Rumen
Telerik team
 answered on 07 Mar 2011
1 answer
91 views
Hello, 

I used Rad Controls (Q1 2010) for Ajax in VS 2008.

I upgraded my VS to 2010 and i don't see any more the controls, what should i do to 

be able to use them again?

Regards, 

Avner
Kiara
Top achievements
Rank 1
 answered on 07 Mar 2011
1 answer
164 views
I am trying to ajaxify a Grid so that certain elements will only cause limited updates and other elements will cause the whole grid to update. For example I my edit form template contains a user control and a second Grid, I am able to enable Ajax for the sub-grid with an Ajax Manager Proxy placed within the edit template and I am able to enable Ajax for certain input panels within the user control in the same way.  I am running into problems attempting to enable ajax for the Grid itself.  

If I just add the main grid to my AjaxManager, the grid is ajaxified, but now all my internal ajaxified controls cause the whole Grid to update which is an issue because it is clearing out the status of my AsynUploader.  So instead I was attempting to enable ajax on the particular controls within the grid which should cause the whole grid to update on an item by item basis.  This is where I am running into problems.

For example I am attempting to enable ajax for the submit button which sits inside my edit form by adding this ajax setting entry to the proxy ajax manager of the edit template:

<telerik:AjaxSetting AjaxControlID="editSubmitLnk">
        <UpdatedControls>
         <telerik:AjaxUpdatedControl ControlID="resourceGrid" />
</UpdatedControls>
</telerik:AjaxSetting>

This does cause the button to make an ajax request as it should, I can see the event the button triggers firing properly when the button is pressed, the problem is that it does not cause the main grid (resourceGrid) to update as it should.
Mira
Telerik team
 answered on 07 Mar 2011
1 answer
114 views
I'm at a point in a web project where, I need to bind a Telerik Grid with data. The data is retrieved on the basis of client ID and a date range. the data that is retrieved is to be bound with the grid but there is a twist. See attached file.

The columns Actual Cost, Inv. Ref, Difference, Add Email, and Add Comment are not coming from DB. They are unbound as they do not exists. I can manage Add Email and Comment. However, once displayed to the user, the Actual Cost, Invoice Reference, and Difference columns are to be blank (row-wise, of course). When I enter something in Actual Cost against a row, the Difference column must show Est. Cost - Actual Cost. Also, the Est Cost, Actual Cost, and Difference are all currencies so having a Numerical input with two decimals is very desired. The Est. Cost is a bound column so masking is no issue there.

The second noticable thing is that if the difference is in positive (and >= a certain defined limit), the row turns red. If difference is negative (and <= a certain limit), the row turns green.

The page that is going to host this drama is a child page with the Ajax Proxy. The Grid will trigger Ajax on itself upon an action. Could someone giude me as to which event I shall subscribe on the grid and prevent grid auto operations? Also, I need to understand the moment the calculations (Difference = Est. Cost - Actual Cost) will occur... i.e., upon cell leave focus?

Regards,
Hassan Gulzar
Marin
Telerik team
 answered on 07 Mar 2011
1 answer
94 views
Hi,

I tried to fill radpane in radsplitter with radtreeview. When I used
var tree = $find("<%=RadTreeView1.ClientID %>"); 
tree.style.height = "100px";
It crushed because tree is null. But when used
var tree = document.getElementById("RadTreeView1"); 
tree.style.height = "100px";
It worked fine. Why is that?
Marin Bratanov
Telerik team
 answered on 07 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?