Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
77 views
Hello,

We are using the latest hotfix release of the controls and doing a non-declarative (explicit setting of datasource and calling databind on the master table view) client-side databind of the Grid. Bound columns work fine, but when we use the hyperlink column, or set the font color for example of a bound column, these formatting changes are only made to the grid up to the 11th column when specifying no page size. When we set the page size to 5, the grid formats the first 6 items. It appears that formatting and processing of URL columns only applies to the page size + 1 number of rows. If there is something we are missing or you've seen this before and know a workaround, please advise.

Thanks.
Sebastian
Telerik team
 answered on 01 Oct 2009
2 answers
127 views
Hi Everybody,

I have been trying to solve a problem and I havent found a solution. I hope there is somebody can help me.

There is a page where is a radgrid and a botton where this button valids the grid. Depending on values of gridcolumn there is wrong.

if there is a wrong then a window shows to user. There are two bottons on the window. The user choose which option he/sh wants to do. In any bottons that user clicks the registers of grid can change its values.

Well, I create the window in code behind because I need to verify the grid for seeing its values and then I pass the parameter on querystring. All it happends in runtime, then the necessity to develop it on code behind.

When window shows to user the user can choose what bottons he/she wants to click. In each botton that user clicks return to page that show the window. Of course tha window call this page with value ...

How can I do to window return the value to page that showed the windows?
I need to implement it in code behing. Is it possible to do it?

Thank you for attention,

Carlos
Carlos Marchi
Top achievements
Rank 1
 answered on 01 Oct 2009
5 answers
478 views
Hello,

I have the following problem. I'm using a grid, where I have three GridButtonColumns, to Copy, Edit and Delete the record. When running the programm, I check if the current user is allowed to delete the reecord. If not, I want to hide the trash symbol in this cell. I want to clear the tooltip as well. Also, this cell uses the cursor pointer, I want to remove this as well. As result, I just will get an empty table cell, where you can't click on.

I hope you can help me, thanks in advance,

Regards, Jonas
Shinu
Top achievements
Rank 2
 answered on 01 Oct 2009
4 answers
129 views
Hai,
As per the design in this page
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/outlook/defaultcs.aspx
i have designed a page in asp.net 2008.
Instead of tree view i placed a asp menu. In its click, Radpane3 is made visible=false.
This page is a content page & the contents are in an update panel.
In IE the error is ''_locked' is null'.
In Firefox the error is Error: _202 is undefined
Plz Help
Tsvetie
Telerik team
 answered on 01 Oct 2009
6 answers
132 views
Is there a list of controls that don't work in a Medium Trust environment?
My host company are telling me that the reason my site is coming across security errors is because of the RadGrid I have on my page...
Dave
Top achievements
Rank 2
 answered on 01 Oct 2009
3 answers
258 views
I have a DataTable that has the correct parent-child relation and fills my RadTreeView correctly.  But my question is this, after running my RadTreeView.DataBind method I will run this loop:
foreach (RadTreeNode node in radtree.Nodes)  
{  
     int intTest = node.Level;  
     node.Expanded = true;  
and I've noticed that this foreach only has a count of 1 for radtree.Nodes.  I'm a little confused as to why I can't seem to see nodes greater than Level 0 when the DataTable goes to at least a Level 4.

Is there someway to set Node.Expanded to true for nodes at Level 0-4?

Jason
neily
Top achievements
Rank 1
 answered on 01 Oct 2009
1 answer
159 views
Hello,

I am attempting to add a footertemplate to my radcombobox to displaying count for the number of rows found.  The problem is, the value of RadComboBox.Items.Count is not displaying in the <asp:Literal> tag until I click on the drop down a second time.  I can see that RadComboBox.Items.Count does have a value but it is not displaying initially.  Does anyone have any ideas?

Rick

<

 

telerik:RadCombobox ID="cboQuestionListTier1" Runat="server" Width="700px"

 

 

BorderColor="LightGray" EnableLoadOnDemand="true" OnItemDataBound="cboQuestionListTier1_ItemDataBound"

 

 

ForeColor="Black" MarkFirstMatch="true" DropDownWidth="750px"

 

 

Height="350px" BackColor="White" BorderStyle="Solid" BorderWidth="1px" AutoPostBack="true"

 

 

OnItemsRequested="cboQuestionListTier1_ItemsRequested"

 

 

HighlightTemplatedItems="true"

 

 

OnSelectedIndexChanged="cboQuestionListTier1_SelectedIndexChanged" Skin="Web20">

 

 

 

<FooterTemplate>

 

Number of rows found:

<asp:Literal runat="server" ID="cboQuestionListTier1ItemsCount" />

 

 

</FooterTemplate>

 

 

</telerik:RadComboBox>

 

Protected

 

Sub cboQuestionListTier1_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadComboBoxItemEventArgs) Handles cboQuestionListTier1.ItemDataBound

 

 

'set the Text and Value property of every item

 

 

 

'here you can set any other properties like Enabled, ToolTip, Visible, etc.

 

 

 

'set the initial footer label

 

 

 

CType(cboQuestionListTier1.Footer.FindControl("cboQuestionListTier1ItemsCount"), Literal).Text = Convert.ToString(cboQuestionListTier1.Items.Count)

 

 

 

 

End Sub

Paul
Telerik team
 answered on 01 Oct 2009
7 answers
79 views
Hi guys,

I would like to have a RadWindow with no Window Icon.  I successfully removed it via CSS, but the actual table cell still seems to render a width (inline style).  Here is what I saw in the source:

<table style="height: 410px;" cellpadding="0" cellspacing="0"
<tbody> 
<tr class="titlerow"
<td style="cursor: nw-resize;" class="corner topleft">&nbsp;</td> 
<td style="cursor: move;" class="titlebar"
<div style="cursor: n-resize;" class="topresize"><!-- / --></div
<table class="titlebarcontrols" align="left" cellpadding="0" cellspacing="0"
<tbody> 
<tr> 
<td style="width: 21px;"><class="windowicon"></a></td>< 
td><em unselectable="on"

You can see that it's set to 21px.  Any way to get rid of this?  Unfortunately the particular td in question does not have its own CSS class.  Thanks!
Georgi Tunev
Telerik team
 answered on 01 Oct 2009
4 answers
131 views
Hi,
I got a little problem with the resizing of Grid columns. I defined my Grid like this:
<telerik:RadGrid ID="RadGrid1" runat="server" CssClass="radGrid" MasterTableView-NoMasterRecordsText="Keine Daten zum Anzeigen" 
                 BorderStyle="None" AutoGenerateColumns="false" EnableViewState="true" AllowSorting="True" Height="450" 
            AllowPaging="true" PageSize="40" Width="97%"
                <PagerStyle Visible="false" /> 
            <MasterTableView TableLayout="Fixed" /> 
            <ClientSettings> 
                <Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="true" /> 
                <ClientEvents OnScroll="HandleScrolling" /> 
                <Resizing AllowColumnResize="true" EnableRealTimeResize="true" ResizeGridOnColumnResize="true" ClipCellContentOnResize="false" /> 
            </ClientSettings> 
            </telerik:RadGrid> 
All my columns are defined programatically like this:
GridTemplateColumn tf = new GridTemplateColumn() 
            { 
                HeaderTemplate = new EditTemplate(Resources.ToolbarRes.Edit_text, DataControlRowType.Header, editButton_Click), 
                ItemTemplate = new EditTemplate(Resources.ToolbarRes.Edit_text, DataControlRowType.DataRow, editButton_Click) 
            }; 
            tf.HeaderStyle.Width = 90; 
            tf.Resizable = false
            this.RadGrid1.Columns.Add(tf); 

So I am able to resize my columns. But if I resize them so much that the grid's former size is bigger than the actual one I still see some kind of rest of the header (some coloured stuff without font).
Moreover it seems to me that the ClipCellContentOnResize property does not have any effect on the behaviour. I still can resize the columns as narrow as I wish if I set it to false.
Another thing I realized is that the columns which are empty are sortable but all others are not. Is there any reason for this?
I would be glad about any help.

Best regards
Ferdinand
Ferdinand
Top achievements
Rank 1
 answered on 01 Oct 2009
1 answer
169 views
I have a UserControl with a RadWindowManager Control and a Repeater (both are inside an asp:UpdatePanel).  Embedded inside the Repeater is a DataGrid that has a column of LinkButtons.  When clicked, the LinkButtons call a javascript function to open up RadWindow and display some additional data.

The LinkButtons are correctly executing the JavaScript.  The problem is that the RadWiindow that displays is not getting its default properties from the RadWindowManager.  I also cannot apply them within the js function.

My RadWindowManager is defined like:
<telerik:RadWindowManager ID="radWinManager" DestroyOnClose="false" Modal="false" Width="600px" Height="600px" AutoSize="true" runat="server" Behaviors="Close,Move"  Skin="Sunset"
    <Windows> 
    </Windows>                              
</telerik:RadWindowManager>  

My javascript function is as follows:

function ViewBillingHistory(userid, taskid) 
    { 
         var url = 'someurl.aspx'
          var oManager = GetRadWindowManager(); 
          if(oManager != null) 
          { 
             
            var win = radopen(url, “radWinBilling”); 
             
          } 
                   
    } 


The Window that results does not have the skin or "behavior" items I set, nor does it open to the size specified (even with AutoSize turned off). 

I've also tried setting the window's properties via the javaScript function, but they don't seem to work there either. 

Ex:
function ViewBillingHistory(userid, taskid) 
    { 
         var url = 'someurl.aspx'
          var oManager = GetRadWindowManager(); 
          if(oManager != null) 
          { 
             
            var win = radopen(url, null); 
            win.setSize(600, 600); 
          } 
                   
    } 

How do I get the formatting of the WindowManager to apply to child Windows? 

Georgi Tunev
Telerik team
 answered on 01 Oct 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?