Telerik Forums
UI for ASP.NET AJAX Forum
12 answers
876 views
Is there any way to display the date picker without the associated text box, and have it update another element on the page? I'm having some troubles with the styles on the generated text box and would rather just have the date picker update another element on the page.

Thanks.
Dimo
Telerik team
 answered on 13 Aug 2009
3 answers
106 views
Hi,

I'm using in my page with two RadListBox, that one can transfer items to the other.
All works fine, but I have a problem with the transfer images appearance. When I change my page to be dir="rtl" the images doesn't show correctly.
Can U tell me how to fix the CSS that I can work with the list box on right to left mode?

Thanks in advance,
Nir
Kamen Bundev
Telerik team
 answered on 13 Aug 2009
2 answers
101 views
Hi,

I am testing out your treeview component, using loading on demand from a webservice (as in your example) It works but the nodes created by the webservice had have no text or value when they are created, any ideas why this is happening?

This is the webservice method, I have debugged it and node.Text and node.Value both have values when this method is processing.

        [WebMethod] 
        public RadTreeNodeData[] GetNodes(RadTreeNodeData node, object context) 
        { 
            List<RadTreeNodeData> result = new List<RadTreeNodeData>(); 
            MasterSystem aSystem = (MasterSystem)Application["MasterSystem"]; 
 
            ExtensionHierarchyObject aGroup = aSystem.ExtensionsSystem.ExtensionHierarchy._GroupFlatList.Find(delegate(ExtensionHierarchyObject g) { return g.GroupId == Convert.ToInt16(node.Value); }); 
 
            foreach (ExtensionHierarchyObject aObj in aGroup.ChildGroups) 
            { 
                RadTreeNodeData newNode = new RadTreeNodeData();                 
                node.Text = aObj.GroupName; 
                node.Value = aObj.GroupId.ToString(); 
                newNode.ExpandMode = TreeNodeExpandMode.WebService; 
                result.Add(newNode); 
            } 
             
            return result.ToArray();                 
        } 



        [WebMethod]
        public RadTreeNodeData[] GetNodes(RadTreeNodeData node, object context)
        {
            List<RadTreeNodeData> result = new List<RadTreeNodeData>();
            MasterSystem aSystem = (MasterSystem)Application["MasterSystem"];

            ExtensionHierarchyObject aGroup = aSystem.ExtensionsSystem.ExtensionHierarchy._GroupFlatList.Find(delegate(ExtensionHierarchyObject g) { return g.GroupId == Convert.ToInt16(node.Value); });

            foreach (ExtensionHierarchyObject aObj in aGroup.ChildGroups)
            {
                RadTreeNodeData newNode = new RadTreeNodeData();                
                node.Text = aObj.GroupName;
                node.Value = aObj.GroupId.ToString();
                newNode.ExpandMode = TreeNodeExpandMode.WebService;
                result.Add(newNode);
            }
            
            return result.ToArray();                
        }
Toby
Top achievements
Rank 1
 answered on 13 Aug 2009
3 answers
199 views
Hello,

I want to know how to change the font-size of the Office2007 Skin.  The current font-size is a little to large and would like to change the size.

How is this done?

Thanks,
Joe
Dimo
Telerik team
 answered on 13 Aug 2009
0 answers
107 views
I am using 2008.3.1314.20 Version on our live server. On one of the developement machine, I created a report with autogenerated radgrid. Filter for datetime and integer fields were not working on that. After going through some of the Forum posts, I found that if I do enablelinqexpressions false, then those filters work. For the grid, the default setting for Enablelingexpressions was true, then after the databind, by making enablelinqexpressions false programatically, grid was binding properly and the filters were also working. At the time of deployment on test machine, we realized that on the development machine, the version of telerik is 2008.3.1314.35. I tried to download various versions from the telerik site and the program does not compile with any version higher than 2008.3.1314.20 also.
I have checked the grid demo for filtering and that also uses enablelinqexpressios false. Our page works only with 2008.3.1314.35, can we get dev version of that release, so that we can deploy without telerik version message.
We do not want to upgrade to higher version as look of grid has changed.

Thanks

Update: Found the solution. The 2 dlls .20 and .35 are for .net versions 2.0 and 3.5 respectively. so got it from the original install itself.
Thanks
kachy
Top achievements
Rank 1
 asked on 13 Aug 2009
1 answer
99 views
Hi,

I need help...

this is my code in aspx:

        <telerik:RadMenu ID="RadMenu1" runat="server">
            <Items>
                <telerik:RadMenuItem>
                    <ItemTemplate>
                        <b>Skin:</b>
                        <telerik:RadSkinManager ID="RadSkinManager1" runat="server" Skin="Hay" ShowChooser="True">
                        </telerik:RadSkinManager>
                    </ItemTemplate>
                </telerik:RadMenuItem>
            </Items>
        </telerik:RadMenu>

i need take the value into in RadSkinManager1.Skin...

I try this code into CS;
        Session["skinid"] = ((RadSkinManager)RadMenu1.FindControl("RadSkinManager1")).Skin;

Object reference not set to an instance of an object.


But dont't work, if i run CTRL+F5 in my screen show...

Line 13: 		{
Line 14: 			RadSkinManager skin = (RadSkinManager)RadMenu1.Controls[0].FindControl("RadSkinManager1"); 		    
Line 15: 			Session["skinid"] = skin.Skin;
Line 16: 		}
Line 17: 		void Page_PreRender(object sender, EventArgs e)



My question is ?

How get de value (Skin) the component RadSkinManager, but this component into in ITEMTAMPLATE for radmenu...


tanks and best regards







Paul
Telerik team
 answered on 13 Aug 2009
1 answer
138 views
Hi,

I am creating demo page with RadGrid in comparison with Intersoft WebGrid and i am trying to find best approach to bind grid with best performance. I have following requirements:

1. Need to create column dynamically.
2. Paging, Sorting, filtering (Optional  as can't compomise with performance), cell editing.
3. drowpdown column in edit mode.(How to achieve this in dynamic binding plz provide any link).
4. Excel/Pdf/cvs download
5. Culture support.

please suggest me whether to use NeedDataSource to bind grid on each post back with disabled viewstate or create grid on page_Init or any other approach?

Also this line is not working when using NeedDataSource for creating/binding dynamic column. 

RadGrid1.MasterTableView.EditMode =

GridEditMode.InPlace;

Regards
Devanand Jha

 

Mira
Telerik team
 answered on 13 Aug 2009
1 answer
223 views
Hi All

We are using the below dll in our .Net 2.0 application .
> RadComboBox.dll
> RadTreeView.DLL

The application is running properly on 32 bit server but while we migrate on 64 bit server we are getting the below error

"is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) "

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.BadImageFormatException: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)


when we remove the above dlls from the bin folder of the application the application works fine , but we are using rad tree on few aspx pages and require RadTreeView.DLL . Can we have the 64 bit version of the dll ?

Kindly provide us suggestion for the same.

Thanks
Prakash Ghatage
Veselin Vasilev
Telerik team
 answered on 13 Aug 2009
2 answers
376 views
Hello,

I have a RAD Grid within an asp panel and I am setting the panel's visibility to false. I binding data to this grid and then doing an export to excel on button click event. Since the panel's visibility is set to false the data for the column is exported and the column name does not appear. If I set the panel's visibility to true I can both data and the column name in the excel. This is my code hope somebody can help me on this:
ASPX code:
<asp:Panel ID="pnlGridDisplay" runat="server" Visible="false">           
            <telerik:RadGrid runat="server" ID="rgGrid" GridLines="None" AllowSorting="true" AllowPaging="false"
                AllowFilteringByColumn="false" PageSize="30" AutoGenerateColumns="false" ShowGroupPanel="true" ShowFooter="false"
                Width="200">
                <MasterTableView DataKeyNames="GradID">
                    <Columns>
                        <telerik:GridBoundColumn HeaderText="ID" DataField="ID" UniqueName="ID" Visible="false"/>
                        <telerik:GridBoundColumn HeaderText="Email" DataField="Email" SortExpression="Email" UniqueName="Email"/>
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>
        </asp:Panel>       

C# code:
 protected void btnExportRegistered_Click(object sender, EventArgs e)
        {
            rgGrid.DataSource = ds;
            rgGrid.DataBind();
            rgGrid.GridLines = GridLines.Both;
            rgGrid.ExportSettings.IgnorePaging = true;
            rgGrid.ExportSettings.ExportOnlyData = true;
            rgGrid.ExportSettings.OpenInNewWindow = true;
            rgGrid.MasterTableView.ExportToExcel();
        }   

So I get the excel file with bunch of email address's but no column name.
thecruciable
Top achievements
Rank 1
 answered on 13 Aug 2009
1 answer
98 views
I'm trying to hook up an ObjectDataSource to a RadGrid, and I get the following error msg:

ObjectDataSource 'ObjKenneler' could not find a non-generic method 'UpdateKennel' that has parameters: KennelID, Telefon, Hjemmeside, Bynavn, Email, Vejnavn, Region, EjerFornavn, EjerEfternavn, Postnummer, Beskrivelse, Kennelnavn.


In my Application, I have a Business Layer (BLL) and a Data Layer (DAL), and my Update method takes a fully populated object as a parameter, and not, as the error suggests, all the properties in a parameter list.

How can I configure the grid/ODS to pass an object to my BLL/DAL methods, instead of the properties one by one?


Nikolay Rusev
Telerik team
 answered on 13 Aug 2009
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?