Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
72 views
Almost every post I've made since about Friday has resulted in me being presented with the "Oops, there's a problem with the server" page.

However, if I go "back" and refresh the page, my post is there.

-- 
Stuart
Asen Arizanov
Telerik team
 answered on 29 Nov 2011
1 answer
66 views
I am having an issue when placing any instance of a radsplitter into a master page.  Basically they render as basic div elements with some border.  Any ideas as to why this would happen.  I have followed the instructions for safe controls, handlers, etc in the web.config.

Please see the attached screenshot...
Dobromir
Telerik team
 answered on 29 Nov 2011
1 answer
113 views
Hi,

We have a page with radtabstrip, and we're dynamically loading user controls when clicking on tabs.

In order to get the usercontrol state persists with viewstate, we reload them in in the page's onload event.

When we click on another tab than the selected one (let say tab index 0 => 2), we don't want to reload the tab 0's user control, but it's not possible as the TabClick event occurs after the Page's OnLoad one...

Is anyone have a solution ?

Best regards,
Bozhidar
Telerik team
 answered on 29 Nov 2011
1 answer
136 views
I have the following in my web.config to stop me having to add a register directive to every page on my site:

<pages>
<controls>
<add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
</controls>
</pages>

When I add a Telerik control to a page, the designer adds the following to the control on the ASPX page
xmlns:telerik="telerik.web.ui".   If I remove it, it still builds, however, if I do anything with the designer it comes back.

This means that I am getting warnings about an ambiguous reference, where it is finding the telerik prefix in both the web.config and the control.

Is there any way to stop this happening?

Thanks

Richard
Plamen
Telerik team
 answered on 29 Nov 2011
8 answers
163 views
Hi,

I was working with RadUpload inside the grid as shown in
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/raduploadinajaxifiedgrid/defaultcs.aspx?product=upload

I have 2 other dropdown controls in my form template. The dropdowns are cascading.
I need to first select something in the dropdown and then select the file to be uploaded.
For this I disable the Radupload and second dropdown on page load and enable them when something has been selected in the first dropdown.  The selection in the second dropdown does not affect the Radupload.
However I am having issue with the custom validator attached to the RadUpload. Once I select from my first dropdown i immediately get an error for selecting a file. I tried to remove the custom validator but that gives me an 'undefined' error.
If I use the function as it is my dropdown and upload control does not get enabled.

Please help.
Peter Filipov
Telerik team
 answered on 29 Nov 2011
1 answer
123 views

Our requirement is to have a grid with columns with predefined sized, have a static header, column resize enabled, row resize disabled. I tried setting the properties to achieve this requirement, to some extent i was successful. One column has long text with spaces when the user resizes the column the content is taken to next line even if i set ClipCellContentOnResize to be true. This actually increases the row size which we do not want. What we want is to have a fixed row size and the columns should start clipping as soon as the resizer crosses the text. The text should not be taken to the next row.

Following is my grid configuration : 

<telerik:RadGrid ID="grid1" OnItemDataBound="OnItemDataBound" Skin="Transparent"
    runat="server" GridLines="Vertical">
    <MasterTableView>
    </MasterTableView>
    <HeaderStyle Font-Bold="False" Font-Size="Small" />
    <ClientSettings EnableAlternatingItems="false" EnableRowHoverStyle="true">        
        <ClientEvents OnRowClick="RowClick" OnRowDataBound="RowBound" OnColumnCreated="ColumnCreated" />
        <Selecting AllowRowSelect="True" />
        <Resizing AllowColumnResize="true" EnableRealTimeResize="false" ShowRowIndicatorColumn="false"
                    ResizeGridOnColumnResize="false" ClipCellContentOnResize="true" AllowResizeToFit="false" />
        <Scrolling AllowScroll="true" UseStaticHeaders="true" />
    </ClientSettings>
</telerik:RadGrid>

Please let me know if i am missing anything.
Pavlina
Telerik team
 answered on 29 Nov 2011
1 answer
367 views
Hi,

how I can I set the z-Index of the RadWindow? It starts at 3000 and increases when moving the window.
I need to have it starting at about 300.
How can I achieve that?

In the RadWindow's OnClientShowMethod I do this:
var id = sender.get_id();
var windowDiv = $(".RadWindow[id$='" + id + "']");
windowDiv.css('z-index', 500);
But the z-index starts at 3000 anyway.

How can I set the z-index by myself?

Shinu
Top achievements
Rank 2
 answered on 29 Nov 2011
3 answers
97 views
Hello,

I've a problem with the contextmenu. When headercontextmenu is displayed  (on right mouse click) mostly the icons are disappeared. Sometimes, after some actions with PostBack, the icons appear. Can someone tell me how to forcethe icons to be displayed in the HeaderContextMenu.

I'm using the 2011 Q3 release with Windows7 skin.

Regards,
  Jos Meerkerk
Pavlina
Telerik team
 answered on 29 Nov 2011
1 answer
131 views
Hi,
I have a RadGrid that I will populate with sometimes very long value/text in columns. I have set column width to 100px (fixed) and columns has resizeable set to true. Wrap is set to false (=I want whole value/text in one row).

Now if I have a column with a value/text that requires more than 100px to be displayed complete the text value will be cut off (text after 100px will be hided), example

Full text: This is a very long text/value
Cut off: This is a very lo (rest could be displayed if I manually resize column)

To make this more clear = obvious that text value is longer than what is displayed, I want to show as example below

What I want: This is a very lo... (end text/value with three dots)

Then it's more clear for the user that text/value is longer than what is displayed and then user could resize this column for having/displaying complete text/value.

How to realize/implement "the end to long value/text with three dots solution"?

Rgds,
Jesper 
Marin
Telerik team
 answered on 29 Nov 2011
1 answer
99 views
Hi, my scenario is just like this telerik example
summaring.. on radgrid ItemDataBound (so for every row button control of the grid) I attach a tooltip to the control button
myDBindex = getWordIndex(AppID, myserv.Name, defaultLang)
  mycontrol = CType(dataitem("Name").FindControl("btn_DictionaryName"), Button)
  mycontrol.OnClientClick = String.Format("OpenDictionary('{0}', '{1}','{2}','{3}','{4}','{5}');", myDBindex, defaultLang, tblName, "IDSPAService", myIDSpaService, "Name")
Me.RadToolTipManager1.TargetControls.Add(mycontrol.ClientID, myDBindex, True)

Protected Sub OnAjaxUpdate(ByVal sender As Object, ByVal args As ToolTipUpdateEventArgs)
           Me.UpdateToolTip(args.Value, args.UpdatePanel)
   End Sub
   Private Sub UpdateToolTip(ByVal elementID As String, ByVal panel As UpdatePanel)
           Dim ctrl As Control = Page.LoadControl("/FrontEndASCX/Dictionary/Dictionary.ascx")
           panel.ContentTemplateContainer.Controls.Add(ctrl)
           Dim myDict As ASP.GMDictionary = DirectCast(ctrl, ASP.GMDictionary)
 
           myDict.AppID = AppID
           myDict.IndexValue = elementID
           myDict.showSaveButton = False
   End Sub

and debugging it looks like it works like a charm, the ascx is called with right element value

Unfortunally, when the mouse is over my button control shows at first the tooltip with exact content, but then, when I move the mouse to another row, to another button control, ascx shows the same content (the first one)  though I can see, debugging, values passed are ok.

It has ajaxmanager as in the telerik example
I can't see why..
Thank you
Jean-Marc
Top achievements
Rank 1
 answered on 29 Nov 2011
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?