Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
66 views
Hi,

I am opening RadWindow in my application and display a page inside it. The page has a menu in it. When the menu is opened and the length of it is bigger then the height of the RadWindow, the menu doesn't extend itself beyond RadWindow. Is there any way to change this behavior?

Thank you,

Irene Troupansky
Georgi Tunev
Telerik team
 answered on 19 Aug 2008
1 answer
176 views
Hello.   I see a date dop down has been implemented in the new version, however the BETWEEN filter is gone .  Is there a way to get 2 date pickers to show up to filter date ranges ?


And ... when I choose it it defaults to put the week numbers in the 1st column.  The   .ShowRowHeaders  attribute is not available to turn off   for the object type of   RadDatePicker  is there another method to hide these ?




Iana Tsolova
Telerik team
 answered on 19 Aug 2008
1 answer
223 views

I use the export feature in radgrid 2008 Q2 and it works very well coming to the browser and launching excel.

My application needs to save the exported excel file to a server side file, not immediately download it.

With dgworkOrderDetails.ExportSettings

            .FileName = "-test-" & oRec.workorder

            .IgnorePaging = True

            .OpenInNewWindow = True

            .Excel.Format = GridExcelExportFormat.Html

 

End With

dgworkOrderDetails.MasterTableView.ExportToExcel() ß opens browser

 

 

Yavor
Telerik team
 answered on 19 Aug 2008
1 answer
146 views
Hi,

Is there a button I can add to the editor so I can highlight text and select an anchor tag for it?

Thanks,
Curt.
George
Telerik team
 answered on 19 Aug 2008
2 answers
85 views
Hi,

Thank you for you previous response about column types. It worked.

I have another issue. I want to disable the filter and add custom filters. If the user typed a value then I want to automaticatlly check if it has 0's or if he has typed in more than 9 numbers etc.

how can I do this.

Thanks,
Ramya
Yavor
Telerik team
 answered on 19 Aug 2008
5 answers
151 views

Hi,

I'm using RadControls 2008.1 619 in an Moss Environmet. I added a Tooltip to the CreateWebPage.aspx. It worksfine in IE 7, but in IE 6 dropdownboxes are in front of the tooltip. What can I do to get the tooltip in front of the dropdownboxes?

Thanks for helping!

Best regards

Falk

George
Telerik team
 answered on 19 Aug 2008
1 answer
338 views
Hello,

I am implementing my client side functions for selecting rows (which needs to handle other tasks), so I am using the javascript code similar to following:

var

masterTable = window["<%= My_RadGrid.ClientID %>"].MasterTableView;
masterTable.SelectRow(masterTable.Rows[rowIndex].Control,

false);

The problem is, how to get a correct rowIndex. When I use GridDataItem ItemIndex property it returns a index which does not count GridGroupHeaderItems - so I can not use it in client side SelectRow function.

So Can I somehow find an index of GridDataItem row in ItemCreated event handler so that this index count GridGroupHeaderItems?

Daniel
Telerik team
 answered on 19 Aug 2008
2 answers
203 views
Hello,

I am new to RadGrid and have a pretty basic problem that I cannot solve. I have a RadGrid set up with a Select command (code below) when a User clicks on the Select link I want to be able to retrieve the Userid ( a column in the row) and do some additional processing. How can I
1) Tell which row was selected
2) Get a particular Cell value in this case UserId

Code:

          <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" GridLines="None"   
                    PageSize="2" onitemcreated="RadGrid1_ItemCreated" width="97%"  AllowMultiRowSelection="false" 
                  OnItemCommand="RadGrid1_ItemCommand" AutoGenerateColumns="False"   
                  Skin="WebBlue" onselectedindexchanged="RadGrid1_SelectedIndexChanged" > 
                  <ClientSettings > 
                  
            </ClientSettings> 
              
 
<PagerStyle Mode="NextPrevAndNumeric" /> 
<MasterTableView PageSize="2" > 
   <Columns> 
   <telerik:GridButtonColumn Text="Select" CommandName="Select">  
                        </telerik:GridButtonColumn> 
    <telerik:GridBoundColumn DataField="UserId" HeaderText="UserID" HeaderStyle-HorizontalAlign="Center"  ItemStyle-HorizontalAlign="Center"  /> 
    <telerik:GridBoundColumn DataField="FirstName" HeaderText="First Name" HeaderStyle-HorizontalAlign="Center"  ItemStyle-HorizontalAlign="Center"/>  
    <telerik:GridBoundColumn DataField="LastName" HeaderText="Last Name" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" /> 
    <telerik:GridBoundColumn DataField="Username" HeaderText="Username" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" /> 
    <telerik:GridBoundColumn DataField="Role" HeaderText="Role" HeaderStyle-HorizontalAlign="Center"  ItemStyle-HorizontalAlign="Center"/>  
   </Columns> 
<RowIndicatorColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</RowIndicatorColumn> 
 
<ExpandCollapseColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</ExpandCollapseColumn> 
</MasterTableView> 
</telerik:RadGrid> 

Shinu
Top achievements
Rank 2
 answered on 19 Aug 2008
1 answer
214 views

Hi everybody,

I trying to use the OnNodeBound event but I can't bring to work, the event does not want to fire, and I can't Understand what I'm doing wrong.

<
telerik:RadTreeView Skin="Office2007" ID="RTMM" Runat="server" CheckBoxes="true" OnNodeBound="HandleNodeBound">

ON MY CODE PAGE

protected void Page_Load(object sender, EventArgs e){
    SecurityFacade facade = new SecurityFacade();
    this.RTMM.DataSource = facade.getPortfolioRoles(1, false).Tables[0];
    
this.RTMM.DataFieldID = "Id";
    this.RTMM.DataFieldParentID = "ParentId";
    this.RTMM.DataTextField = "Name";
    
this.RTMM.DataBind();
}

protected

void HandleNodeBound(object sender, RadTreeNodeEventArgs e){
    DataRowView dataSourceRow = (DataRowView)e.Node.DataItem;
    e.Node.Checked= (
bool)(dataSourceRow["IsChecked"]);
}


Can maybe someone of you help me? Thank you very much

Raphael

raphael
Top achievements
Rank 1
 answered on 19 Aug 2008
1 answer
142 views

private void CreateToolTip()
 {
  GridDataItem DataItem;
 
  int iPageIndex = rgSNLoc.CurrentPageIndex;
  int iPageSize = rgSNLoc.MasterTableView.PageSize;
  int iFactor = iPageIndex * iPageSize;

  for (int i = iFactor; i < rgSNLoc.MasterTableView.Items.Count + iFactor; i++)
  {
   DataItem = rgSNLoc.MasterTableView.Items[i - iFactor] as GridDataItem; 

   if (sMultiAddr[i].Length == 1)
   {
    DataItem["loc_name"].ToolTip = sMultiAddr[i][0];
   }
   else
   {
    for (int j = 0; j < sMultiAddr[i].Length; j++)
    {
     if (j == sMultiAddr[i].Length - 1)
      DataItem["loc_name"].ToolTip = sMultiAddr[i][j];
     else
      DataItem["loc_name"].ToolTip = sMultiAddr[i][j] + "\n\n";
    }
   }
  }
 }

I wrote the above function and put it in the "PreRender" event handler of the RadGrid. What I want to do is to assign a unique tooltip to each row of a specified column in the grid, and the tooltip will still exist correctly even the user change the page size or switch to another page of the grid dynamically. However, if the user sort on a column, the value of the tooltips will become wrong. So how can I keep the tooltips correctly in this case? Thanks.

Iana Tsolova
Telerik team
 answered on 19 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?