Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
186 views
2008.3.1125.35
I defined 2 radio buttons in GridTemplateColumn and I want them to display horizontally without wrapping.
I tried setting ItemStyle wrap="false" or larger width, and GridTemplateColumn AllowResize="false".    It still wraps when the browser window is shrunk.

The only way I can make it not re-size is using a table and set nowrap in TD, but it caused another problem.  The grid is using Web20 skin and ItemStyle BackColor is GreenYellow, and it leaves a bottom border line that I could not get rid of unless I explicitly set it to border none in TD.

Are these the necc. workaround?

                            <table>
                                <tr>
                                    <td nowrap style="border-style:none">
                                        <asp:RadioButton ID="rdo1" Text="test1" GroupName="Opt" runat="server" />
                                        <asp:RadioButton ID="rdo2" Text="test2" GroupName="Opt" runat="server" />
                                    </td>
                                </tr>
                            </table>
Dimo
Telerik team
 answered on 04 Dec 2008
6 answers
201 views
Hello,

When I am using FormDecorator, my buttons have a dashed line under them and the hover style does not work on Firefox 3 or 2, but works on IE. The dashed line is caused by the hidden RealInputButton, that apparently isn't hidden. This is not a browser issue since the decorated buttons on your demo site look ok on my Firefox. What could be the problem causing this?

Thank you in advance.





Alex
Top achievements
Rank 1
 answered on 04 Dec 2008
3 answers
161 views
I have noticed some threads where you have given people the CSS files and images to control the skin of different RadControls... Where can i find a full list of these? I found the CSS file and image for the ComboBox control in another post, is there a list of the other that i can donload somewhere?

Duncan
Ivan Dimitrov
Telerik team
 answered on 04 Dec 2008
3 answers
305 views
Hi,

I am designing Gantt chart and I would like to display dates in custom format eg.  Jan-08, Feb-08, Mar-08. I  understood we need to convert date value in OA format.

I have couple questions:

1) How do I display date in custom format as I described above.
2) How do I manage lablestep property on axis as days in month varies for every month and there cannot be same step for eg. 30 to  
    lable for every month as I want it.
 
Appreciate all your help.

Thanks,
Amit
Vladimir Milev
Telerik team
 answered on 04 Dec 2008
1 answer
67 views
Hello, I am having a strange issue.

First I should note that I am working with the Telerik control suite for the first time with a new company. I am working with the ASP.NET Ajax controls and am running an application with the .NET 2.0 framework.

The specific problem I am running into is that I am creating a page which will use multiple Telerik controls. I successfully designed a page which uses the RadSplitter control and this renders correctly.

The next step was to add a RadPanelBar to one of the Splitter's panes, however when I did this, none of the web page markup renders, all I get is a blank page.

To begin troubleshooting, I removed all other code/controls on the page and simply added the Script Manager and the example code for a basic RadPanelSplitter as given in the "First Look" example on the main site. This is the only code now in the page besides the basic page tags requisite for any ASPX form.

When this page is run I get, again, nothing but a blank page. In fact none of the web form markup is rendering, the markup the "blank" page contains (using the browser's view source) is this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 
<HTML><HEAD
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD> 
<BODY></BODY></HTML> 

Besides there being nothing, it almost appears that the form element is just completely missing from the markup, but also there is code in the Head tag besides the one meta tag shown which is not rendering.

This is very strange behavior, and I'm not getting any errors at all... Perhaps since I have not worked with the Telerik controls before I have made a simple mistake, but any help would be greatly appreciated.

Thanks!
Sebastian
Telerik team
 answered on 04 Dec 2008
2 answers
154 views
On a page we're having some controls bound to an object datasource. We're also using the radAjaxManger to change parts of the page. Step 1. User enters data in input control
Step 2. User chooses an other value in a combobox which causes a postback to reload parts of the page

-> On page_load the entered data is gone.
I can save the objectdatasource in the session but how can I update the data before the page_load?

TIA
Arthur
Arthur Hefti
Top achievements
Rank 1
 answered on 04 Dec 2008
3 answers
432 views

Hi.. I just downloaded the latest update.. and i'm getting the following error... how do i update my web.config?
thanks

Could not load file or assembly 'Telerik.Web.UI, Version=2008.1.619.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Ves
Telerik team
 answered on 04 Dec 2008
2 answers
185 views
I defined a listbox as GridTemplateColumn.  
It populates the available selections fine, but I could not get it to select with the value from database automatically without additional code in ItemDataBound.

Also am I defining DataField correctly in both template and listbox itself?

                <telerik:GridTemplateColumn UniqueName="colLstOpt" HeaderText="Rebalance" DataField="Opt_In" DataType="System.String" >
                     <ItemTemplate>
                            <asp:ListBox ID="lstOpt" runat="server" DataSourceID="XmlDataSource1" DataField="Opt_In" SelectionMode="Single" DataTextField="Name" DataValueField="Value"></asp:ListBox>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>      

Is it supposed to work with above code without having to code in ItemDataBound below?  

    Private Sub RadGrid1_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemDataBound
        If (TypeOf e.Item Is GridEditableItem AndAlso CType(e.Item, GridEditableItem).IsInEditMode) Then
            Dim editedItem As GridEditableItem = CType(e.Item, GridEditableItem)
            CType(editedItem.FindControl("lstOpt"), ListBox).SelectedValue = e.Item.DataItem("Opt_In").ToString
        End If
    End Sub
Princy
Top achievements
Rank 2
 answered on 04 Dec 2008
1 answer
149 views
Hello,

  I'm attemtping to use the rad chart control in a web page an continue to get the message "The Chart http handler is not registered. Please manually add the following line to your Web.Config httpHandlers section: <et cetera>" I've ensured that the http handler line is indeed in place and has the correct version and key information. (I've also made sure that I don't need to add it to the <web.Servers> section, as it's not using Vista or IIS 7 compatibility. I've tried adding the web.servers section just for kicks, but with no luck.) Is there any other reason that this error might show up, or anything else I can look for to get this problem fixed? 
Ves
Telerik team
 answered on 04 Dec 2008
1 answer
169 views
2008.3.1125.35   VS2008 SP1

Tried to follow this example but it's not working:    http://www.telerik.com/help/aspnet-ajax/grdfilteringwithdropdownlist.html

I created MyCustomFilteringColumn.vb with these headers:



Namespace MyCustomNamespace
    Public Class MyCustomFilteringColumn
        Inherits GridTemplateColumn

In ASPX page I have:
<%@ Register Namespace="MyCustomNamespace" TagPrefix="custom" %> 

<custom:MyCustomFilteringColumn DataField="Opt_In" HeaderText="Customer ID" UniqueName="CustomerID" />

I get a bunch of warnings and it will error with:  Parser Error Message: Unknown server tag 'custom:MyCustomFilteringColumn'.

Generation of designer file failed: Unknown server tag 'custom:MyCustomFilteringColumn'. 



  Namespace or type specified in the Imports 'MyCustomNamespace' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

Princy
Top achievements
Rank 2
 answered on 04 Dec 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?