Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
211 views
Hi,

i use the radhtmlfield in of of my Moss Pagelayouts for WCM, but when i try to add a bullet list and publish the site i dont see the bullets?

I read several posts here, also something about the newlineBr property etc.., but i'm failry new to this and dont know if this also is a solution to my problem.

And if so where do i edit this property...

Thanks in advance for the help..
Vishal
Top achievements
Rank 1
 answered on 02 Jul 2008
3 answers
168 views
I'm using Version 2008.1.415.20 of RadComboBox.  After a postback when using the LoadOnDemand=true to fetch the items, the Items collection is null.  

The SelectedValue field seems to be populating with the text value in the combo box.  Unfortunately, I need the value of what the DataValue field was, and not the DataTextField. 

Any help here would be appreciated.  Thanks.
Rosi
Telerik team
 answered on 02 Jul 2008
5 answers
125 views
Hello everyone,

I am working on creating a column in a grid; that colum should be the later date out of two other date columns and then sort the grid by that new column.

here is what I have for the two columns:
                    <radg:GridBoundColumn UniqueName="DateAdministered" SortExpression="DateAdministered" HeaderText="First Fill Date" DataField="DateAdministered" DataFormatString='{0: MM/dd/yyyy}'>  
                        <HeaderStyle Wrap="False" HorizontalAlign="left"/>  
                        <ItemStyle Width="140px" /> 
                    </radg:GridBoundColumn> 
                    <radg:GridBoundColumn UniqueName="RefillDate" SortExpression="RefillDate" HeaderText="Last Refill Date" DataField="RefillDate" DataFormatString='{0:MM/dd/yyyy}'>  
                        <HeaderStyle Wrap="False" HorizontalAlign="left"/>  
                        <ItemStyle Width="140px" /> 
                    </radg:GridBoundColumn>       
 
I am just wondering how the third column will be build and if it should calculate the later date of the other two columns in the Grid DataItemBound.

Please let me know if any ideas.

Thank you in advance,
Shehab
Yavor
Telerik team
 answered on 02 Jul 2008
2 answers
107 views
I need some help with adding/editing records in a table that contains a column related to another table.

I have a series of tables which will contain about 5,000-10,000 rows. The tables contain the tasks that people have worked on or calls made, etc. New rows added to a table have to contain a valid ID for a person. Of course it isn't reasonable to ask the data entry person to know every ID, so they will enter a Last Name and then I want the system to offer them a choice of people and on selection, record the ID number of the person chosen in the grid.

Rows might also be updated to change the person chosen.

The trouble is that the list of people who might possibly be used will grow very long over time, possibly drawn from as many as 10,000 people or more. For this reason, I don't want to use a drop down box. I want to use a plain text field to enter the last name and have the user prompted in some way to select the correct person (by first name or company).

In a Windows Forms app, I would use a simple pop-up window to present the choices and when the pop-up was closed, check that a selection had been made and if so, record the ID in the appropriate column.

I understand that pop-ups can be problematic in Web Forms, but is it possible using the Telerik Grid (AJAX preferably) to do something that would achieve the same effect if a pop-up won't be possible?

Thanks,
Simon

Simon
Top achievements
Rank 1
 answered on 02 Jul 2008
1 answer
144 views
Hi,

how do I hide the expand column and the group column when exporting detail table  (in hierarchy radgrid) to excel? I can hide the columns in Mastertableview but in detail tables, they are still there.
Shinu
Top achievements
Rank 2
 answered on 02 Jul 2008
1 answer
157 views
I use client api Fire method to run "Copy"\"Cut"\"Paste" commands, but they did not run. Is there any other information needed to run these commands ?
Rumen
Telerik team
 answered on 02 Jul 2008
8 answers
140 views
Hello!

Does someone tryted to use RadScheduler for creating "shop open hours" schedule?

There should be only week view without dates where user can mark on what day his shop is open during week (from Monday to Sunday).

Thanks
GrZeCh
Top achievements
Rank 2
 answered on 02 Jul 2008
1 answer
163 views
It appears that CommandItems for a RadGrid can only be placed on the top or bottom of a grid.  Is there a method for placing these buttons on the left/right side of the grid in a vertically stacked manner?

Thank you,
Kevin
Shinu
Top achievements
Rank 2
 answered on 02 Jul 2008
1 answer
135 views
I have a page loading within a RadWindow. The purpose of this page is to let the user choose a widget. Each widget has it's own page that sets its properties. So my page presents a list of widgets, the  user chooses one and the page will then locate to the widget page. Each widget page has its own size and behaviors, some can resize, some can't, etc. Thus I created a function that sets the current RadWindow's URL, size and behaviors based on the selection. Below is a simplified version of this function within the RadWindow:

function OpenAddDialog() {  
    var radWindow = GetRadWindow();  
    if (radWindow) {  
        radWindow.set_width(800);  
        radWindow.set_height(600);  
        radWindow.set_behaviors( Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Move );  
        radWindow.center();                              
        radWindow.setUrl('/someotherurl.aspx');  
    }  
} 

When this function fires, a javascript error occurs:

"Telerik.Web.UI.WindowBehaviors.Close" is null or not an object.

What would cause this?

Thanks in advance.

Regards,
Jared
Georgi Tunev
Telerik team
 answered on 02 Jul 2008
5 answers
305 views

I want to create a ListUtility class for RadCombobox.
This class should be like a DropDownlist.
Example:

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections;
/// <summary>
/// Utility Klasse. Hilfsfunktionen für Dropdown Listen
/// </summary>
public static class ListUtility {
 public static void FillDropDownList( DropDownList list, ArrayList sl, bool addEmpty ) {
  try {
   if (addEmpty && (1 != sl.Count)) {
    list.Items.Add( "" );
   }
   foreach (WListItem entry in sl) {
    ListItem item = new ListItem( entry.Value, entry.Key );
    list.Items.Add( item );
   }
  } catch (Exception ex) {
   LogUtil.LogMessage( "Fatal Error in FillDropDownList\r\n" + ex.Message + "\r\n" + ex.StackTrace );
  }
 }
 public static void FillDropDownList( DropDownList list, IDictionary sl ) {
  FillDropDownList( list, sl, true );
 }
 public static void FillDropDownList( DropDownList list, ArrayList sl ) {
  FillDropDownList( list, sl, true );
 }
}

In the example above, the namespace is System.Web.UI.WebControls.
How combine programmatically a RadComboBox?

Atanas Korchev
Telerik team
 answered on 02 Jul 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?