Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
115 views
I am a little new at working with the Telerik controls but I am trying to work with a radcombobox inside a radgrid however I can't get it to  display when I run the application.  Below is what I have thus far.  I would appreciate any help on what the problem might be.  I am using ASP.NET 3.5, Windows XP Pro SP3, IE7 (although most will probably be on IE8 by the end of the year), RadControls for ASP.NET AJAX 2008.2723, preferred programming language is VB.NET. 

<telerik:GridDropDownColumn HeaderText="Copy Position To Grant" UniqueName="ComboboxGrantList" Display="true" DropDownControlType="RadComboBox" HeaderStyle-Width="125" AllowSorting="true" Visible="true"  
                        DataSourceID="SqlDatasourceComboboxGrantTrackingNumber" ListTextField="GrantTrackingNumber" ListValueField="GrantID" ListDataMember="GrantID"></telerik:GridDropDownColumn> 

Thanks,
Alex


Radoslav
Telerik team
 answered on 15 Jan 2010
1 answer
214 views
hello my dear lords :
i looked for the change of  the font-family of databound items in radcombobox from a sqldatasource and so i got some instructions in telerik help ...
1-Tutorial: Creating a Custom Skin  :   http://www.telerik.com/help/aspnet-ajax/combo_appearancecustomskintutorial.html
   i did it step by step but it did n't work at all - I don't know what is my broblem but it did n't work
  my question about this tutorial is where are the skin files (css and etc)that combobox uses them such as Office2007???
  I go to this path ( \Program Files\Telerik\<Your Version of RadControls for ASPNET>\Skins\Office2007)and chage this
.RadComboBoxDropDown_Office2007<br> 
{<br> 
&nbsp;&nbsp; &nbsp;font: 12px "Segoe UI", Arial, sans-serif;<br> 
&nbsp;&nbsp; &nbsp;color: #333;<br> 
&nbsp;&nbsp; &nbsp;text-align: left;<br> 
} 

but it did n't work
i know doing this is not my solution and that was a client side job...
after that i change the path of (ComboBox.Office2007ChangeFont.css) from MySkin Folder To The root of my project and then attach it.at this time some(not all) pics have loaded into combobox but there is no font change
i aslo add some items from items property to combobox and changed their fonts to my desire fonts in design time but what about databound items from sqldatasource
in another thread someone had use this :
 <style type="text/css"> 
   .RadComboBoxDropDown 
   {     
      font-family:tahoma !important;
      font-size:9px !important; 
   }  
</style> 
but how can i tell combobox to use this style --- beside office2007 skin ---
office 2007 skin has own css files and so ...........

please help me about this , step by step like how to instructions...
because i have this peoblem in another components...
god bless you


Poul Henningsen
Top achievements
Rank 1
 answered on 15 Jan 2010
1 answer
140 views
I have a grid which has grouping.  I need to be able to drag and drop (reorder) within a group and between groups. While stepping through the code I can see that the Destination ItemIndex is update, but not the the Destination GroupIndex.  I need to know where within the group I am dropping the record so that it can be updated correctly in the database.  Is there anyway to do this without using the ItemIndex and looping through the recordset to find the index within a group?

Thanks,
Malcolm
Yavor
Telerik team
 answered on 15 Jan 2010
1 answer
92 views
The latest version we have is 5.5.1. Where can I find documentations on new version bug fixed and new features
We have license. Where to download the new version.  Thanks.
Stanimir
Telerik team
 answered on 15 Jan 2010
2 answers
111 views
Hello,
I readed this article about checking the filesize on clientsite: http://www.telerik.com/help/aspnet-ajax/upload_howtoclientfilesize.html

Now I customized this code for my project:

<script type="text/javascript"> 
 function checkUploadedFilesSize(progressArea, args) 
 { 
   if (!progressArea.confirmed && 
       args.get_progressData().RadUpload.RequestSize > 10485760) 
     { 
       progressArea.cancelRequest();    
     } 
  } 
 
</script> 

It work's, but how can I set a custom validator to "false" after I canceld the request to show the user an error message??

My cumstom validator looks like this:
<asp:CustomValidator  
  ID="checksizevalidator" runat="server" 
  Display="Dynamic"> 
The total size of the selected files is more than the limit. 
</asp:CustomValidator> 

Thanks in advance for your help.

Regards
Dirk





Dirk Eberhardt
Top achievements
Rank 1
 answered on 15 Jan 2010
1 answer
101 views
I want to provide a defaultDisplay (during development) which will display a single row from a table in a vertical manner. I would like associated detail tables to be presented in the normal horizontal manner.
I've used the PivotGrid examples to display this row as though it is a form. I have autoassigned the columns so that it can display table A, B or C according to some value passed to the form. The data is all provided by a dataset with the appropriate relations set up. I would like Table A to also be able to display its table subA details (using A.Id = SubA.Id).
I programmatically define the detail table because there are various detail tables according to whether Table A, B or C is being displayed.
If I programtatically define the detail table, because the MasterDetailTable has been pivoted, I pick up the incorrect details for the masterKey Values. How can I access the correct values when rows and columns are switched?

Basically can I mix vertical and horitontal RadGrids?
Yavor
Telerik team
 answered on 15 Jan 2010
2 answers
361 views
I would like to be able to auto close a Rad Window after 2 seconds. (Everything works except for the auto close after 2000ms). I have tried the setTimeout like this:

 

function openQuickActionRadWindow(tabid,XModID)

 

{

 

var oWnd = radopen("/Default.aspx?tabid=" + tabid + "&xmfid=5&SkinSrc=[G]Skins/Blue-NCPP/Plain&xmid=" + XModID, "RadWindow3" );

 

oWnd.Center();

oWnd.add_close(RefreshGrid);

setTimeout(oWnd.Close, 2000);

}

but I get a javascript error: Object doesn't support this property or method. 

The details:
Browser: IE 8
Version: 2009.3.1208.35

Thanks,
Joe

Georgi Tunev
Telerik team
 answered on 15 Jan 2010
0 answers
82 views
Hello
In my project i m using Scheduler Control,when i click on my button scheduler control is pop up using rad window,but issue is my Date panel and Time panel means First Column after Header and Left Column of Time not able to Freeze how can i freeze that column.
waiting for your reply


Amitkumar
Top achievements
Rank 1
 asked on 15 Jan 2010
2 answers
156 views
Hi, All

I want to export to excel with html code

like
<table>
    <tr>
        <td>1</td>
        <td>2</td>
    </tr>
    <tr>
        <td>3</td>
        <td>4</td>
    </tr>
</table>

Not using this CS code
    grdList.ExportSettings.Excel.Format = Telerik.Web.UI.GridExcelExportFormat.ExcelML;

please help me
Yoon-Ho Choi
Top achievements
Rank 1
 answered on 15 Jan 2010
1 answer
103 views
Hi There

I have a page where I am using two tabs. Within the RadPageView I am loading UserControls.

UC1 is the first to focus, and I can't seem to get UC2 to focus at all.

Here is the ASPX with the tabs
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<%@ Register TagPrefix="uc" TagName="Properties" Src="~/App_Modules/Properties.ascx" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title></title>  
    <script type="text/javascript" src="http://www.google.com/jsapi"></script> 
    <script type="text/javascript">  
        google.load("language", "1");  
    </script> 
</head> 
<body class="body">  
    <form id="form1" runat="server">  
    <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" /> 
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
        <Scripts> 
            <asp:ScriptReference Path="~/App_Assets/Scripts/Admin.js" /> 
        </Scripts> 
    </telerik:RadScriptManager> 
    <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1" SelectedIndex="0" > 
        <Tabs> 
            <telerik:RadTab Text="Page Details" /> 
            <telerik:RadTab Text="Page Properties" /> 
        </Tabs> 
    </telerik:RadTabStrip> 
    <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" EnableEmbeddedScripts="true">  
        <telerik:RadPageView ID="DefaultView" runat="server">  
            <asp:Panel ID="EditPanel" runat="server" /> 
        </telerik:RadPageView> 
        <telerik:RadPageView ID="PropertiesView" runat="server">  
            <uc:Properties ID="Properties1" runat="server" /> 
        </telerik:RadPageView> 
    </telerik:RadMultiPage> 
    </form> 
</body> 
</html> 

And here is the ASCX that contains the Applet.

<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Admin.ascx.vb" Inherits="App_Modules_Image_Gallery_Admin" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<div class="Header-Bar">  
    <div class="Header-Bar-Wrapper">  
        <div class="Inner-Header-Bar">  
            SlideShow Manager</div> 
    </div> 
</div> 
<div class="Content-Area">  
    <div class="Inner-Content-Area">  
        <table> 
            <tr> 
                <td> 
                    <div style="border: 1px dotted #336699; padding: 4px; width: 180px;">  
                        <telerik:RadScriptBlock runat="server" ID="Scripts1">  
                            <script type="text/javascript" language="javascript">  
                                {  
                                    document.writeln('<applet ');  
                                    document.writeln('archive  = "../App_Assets/Scripts/RadUploadDNDLite.jar"');  
                                    document.writeln('code     = "com.radinks.dnd.DNDAppletLite"');  
                                    document.writeln('name     = "Rad Upload Lite"');  
                                    document.writeln('hspace   = "0"');  
                                    document.writeln('vspace   = "0" MAYSCRIPT="yes"');  
                                    document.writeln('width    = "180"');  
                                    document.writeln('height   = "180"');  
                                    document.writeln('align    = "middle">');  
                                }  
                            </script> 
                            <param name="max_upload" value="20000">  
                            <param name="url" value="<% ="http://" & HelperClass.GetServerDomain & "/Uploader.axd?allowed=jpg,jpeg&path=" & ThePath %>" /> 
                            <param name="monitor.type" value="thumbnails">  
                            <param name="message" value="<div style='text-align:center;padding-top:50px;color:Gray;'>Drag & Drop<br>or<br>Copy & Paste</div>" /> 
                            <script language="javascript" type="text/javascript">  
                                {  
                                    document.writeln('</applet>');  
                                }  
                            </script> 
                        </telerik:RadScriptBlock> 
                    </div> 
                </td> 
            </tr> 
        </table> 
    </div> 
</div> 
 

I can confirm that my Applet is configured properly, and it loads without issue.  But the problem is that I cannot switch to the "Page Properties" tab.

Thanks in advance.
Chase Florell
Top achievements
Rank 1
 answered on 15 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?