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

How to set or change the radtooptip height client side based on the content in OnClientBeforeShow?

Thanks in advance,kindly help me to resolve this.
 
Dhana.
Svetlina Anati
Telerik team
 answered on 04 Jun 2008
6 answers
174 views
When using the Telerik skin, the Set Image Properties dialog box is not properly drawn.  In particular, it does not have OK and Cancel buttons.  The Image manage dialog box is goofy too.  I was using this skin in the pre-Ajax version without any issues.

Thanks.

Laurie
Martin
Telerik team
 answered on 04 Jun 2008
3 answers
166 views
Hi,

I have a problem finding a solid reusable method to create multilevel hierarchical databinding with ajax radgrid that also allow editing.

All the datasources are built using codesmidth. The solution is a product im continuing for a customer, why the structure with codesmith generation and telerik is fixed.

CodeSmidth builds hierarchical objectdatasources and telerik builds hierarchical grids, but they are not compatible, unfortunately.

So I need to create a codesmidth dynamic bidir datasource and assign this in the needdatasource events, for instance when an expand is clicked. But, but, the arguments for the needdatasource events is quite poor with information, since i cannot determine which level of detailtable is being opened.

Another try was to assign a datasource to the detailtable in the detailtabledatabind event, but here i get the exception "object reference not set..." when it reaches the GetCollectionItemType in the grid.

What can I do ?

Any help is appreciated.
Sebastian
Telerik team
 answered on 04 Jun 2008
1 answer
139 views
I have the nodeclick event wired to open a file once clicked. This part works great. The problem occurs once they've closed the file, if the users next action causes a postback the nodeclick event gets fired again and they're asked if they want to open the file again. I've tried setting the clickednode.selected = false as well as number of other things and none of them seem to work in getting the page to quit going back through the nodeclick event. Please let me know what i need to do. Thanks
Veselin Vasilev
Telerik team
 answered on 04 Jun 2008
2 answers
94 views
My sqlDataSource can have most different SQL select statement when clicks come from a panelbar. Hw and where do i monitor and add the columns that are assigned to my RadGrid and what are the setting of my RadGrid. Do i need AutoGenerateColumns or not.
Willem
Top achievements
Rank 1
 answered on 04 Jun 2008
1 answer
177 views
Hello,

I need help displaying the dropdown calendar of the RadDatePicker.  I dragged and dropped it into a form as usual, but the calendar dropdown  doesn't display in IE 7 or Firefox. 

I wonder if there are special folders (Skin etc) that I need to add to the project in order to get the RadDatePicker to behave correctly.  This is my first time using the Prometheus Rad Controls on a fresh project (not an upgrade). I was wondering if there are any special initial setups that are necessary.  This is because I also noticed that the Hay skin of the RadPanelBar doesn't display the green theme in my new project. 

I installed the controls using the installer and the controls were successfully installed in the Visual Studio 2005 toolbox.

Any pointer in the right direction will be greatly appreciated.

Thank you.

Victoria

Maria Ilieva
Telerik team
 answered on 04 Jun 2008
2 answers
290 views
Hi,

I have a very bizarre problem, which I am hoping someone may have some idea in solving...

I have a application which uses masterpages, on the masterpage is a RADmenu which is connected to a SQL database.  I have created a CSS file which controls the width of the radmenu.

The formatting works if the menu is in the content section, but does not work in masterpage.  I have found that if you place the stylesheet in the contentpage like this...

<

asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">

<link href="../Menu.Telerik.css" rel="stylesheet" type="text/css" />


it works, but this is a real pain as it requires me to add this to every page, which sort of destroys the whole point of masterpages.  My understanding is that the page is rendered backwards starting from the contentpage and working out to the masterpage.  What is confusing me is that other elements on the masterpage are formatting correctly, its just the menu, is this a bug or am I being stupid (probably the later :o) ).
 below is my master page.  Any assistance would be greatfully recieved.
<%@ Master Language="C#"  AutoEventWireup="true" CodeBehind="Masterpage.Master.cs" Inherits="Standard.Site1"  %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"/>  
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head id="Head1" runat="server">  
    <title>UKLPG Standard Application</title> 
    
      
</head> 
 
<body> 
    <form id="form1" runat="server">  
        <div id="header">    
    <div id="logo">  
    <h1><asp:Image ID="Image1" runat="server" ImageUrl="~/Images/autogasqc.gif" /></h1>  
    </div> 
    <div id="menu">  
        <table cellpadding="0" cellspacing="0" width="100%">  
            <tr> 
            <td colspan="3" style="width: 553px">  
      
        <asp:SqlDataSource ID="dsTheMenu" runat="server" ConnectionString="<%$ ConnectionStrings:TheConnection %>" 
            SelectCommand="GetItems" SelectCommandType="StoredProcedure" CancelSelectOnNullParameter="False">  
        </asp:SqlDataSource> 
                <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
                </telerik:RadScriptManager> 
        <table cellpadding=0 cellspacing=0 align="center">      
    <tr>     
        <td>    
              
        <telerik:RadMenu ID="RadMenu1" Style="z-index:3501;float: inherit;text-align:center;"  runat="server" DataFieldID="ID" DataFieldParentID="Parent" 
            DataMember="DefaultView" DataNavigateUrlField="Url" DataSourceID="dsTheMenu" 
            DataTextField="Title" Skin="Telerik" ClickToOpen="True" SkinID="Standard"  EnableEmbeddedBaseStylesheet="true" > 
            <CollapseAnimation Duration="200" Type="OutQuint"  /> 
            <DefaultGroupSettings Width="10px" /> 
        </telerik:RadMenu> 
         </td></tr></table>     
        </td> 
                <td style="height: 20px; text-align: center; width: 100px;">  
                    </td> 
            </tr> 
        </table> 
        
      </div>   
      
    </div>   
                              
 
<div id="content" style="text-align: left">   
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">  
    </asp:ContentPlaceHolder> 
      
</div> 
       
    </form> 
      
</body> 
</html> 
JK
Top achievements
Rank 1
 answered on 04 Jun 2008
2 answers
234 views

I have been using telerik for a while and today while doing some QA on a page with my team I had a profound moment when I looked at my modal/page loading in firebug.

I have a simple page that uses 3 sections in a splitter, 4 tabs in the tab control and 1 editor no tools just spellcheck and I have to load all this.

<asp:ScriptReference Path="~/Scripts/Common/Core.js" />
<asp:ScriptReference Path="~/Scripts/Common/PopUp/PopUpScripts.js" />
<asp:ScriptReference Path="~/Scripts/Common/Animation/AnimationScripts.js" />
<asp:ScriptReference Path="~/Scripts/Common/Navigation/NavigationScripts.js" />

<asp:ScriptReference Path="~/Scripts/Splitter/RadSplitter.js" />
<asp:ScriptReference Path="~/Scripts/Splitter/SplitterItem.js" />
<asp:ScriptReference Path="~/Scripts/Splitter/SplitterPaneBase.js" />
<asp:ScriptReference Path="~/Scripts/Splitter/RadPane.js" />   
<asp:ScriptReference Path="~/Scripts/Splitter/RadSlidingPane.js" />
<asp:ScriptReference Path="~/Scripts/Splitter/RadSlidingZone.js" />
<asp:ScriptReference Path="~/Scripts/Splitter/RadSplitBar.js" />
 
<asp:ScriptReference Path="~/Scripts/TabStrip/RadTabStripScripts.js" />
<asp:ScriptReference Path="~/Scripts/TabStrip/MultiPage/RadMultiPageScripts.js" />

<asp:ScriptReference Path="~/Scripts/Dialogs/DialogOpener.js" />          
<asp:ScriptReference Path="~/Scripts/Window/RadWindow.js" />          
<asp:ScriptReference Path="~/Scripts/Editor/RadEditor.js" />
<asp:ScriptReference Path="~/Scripts/Editor/Modules.js" />         
<asp:ScriptReference Path="~/Scripts/Spell/SpellCheckService.js" />
<asp:ScriptReference Path="~/Scripts/Editor/AjaxSpellCheck.js" /> 


Am I missing something or is this more js than you ever thought you would need to pull something like this off.

It would be great if someone would post back and tell me to make sure and click the property that says "not really as much js" but I have a feeling that is not going to happen. I dont mean for this to be a blog but I am curious of the community feedback on the general topic and my scenario.

Thanks and I do love telerik products
John

Rumen
Telerik team
 answered on 04 Jun 2008
0 answers
85 views

Please be kind enough to guide me which of your products I need to develop my website application.

Do you have any information on benefits / advantages, security of asp.net over open source platforms / applications ?

We are planning for an advanced & secured Vehicle Data Portal.

Feature No.1
It will be a single "umbrella" under which the inventories of manufacturers, auction houses, exporters, vehicle dealers (internal trade / non-exporters), individual sellers will be listed online. A buyer can search the data, compare the data and buy based on price or condition of the vehicle.

Linking International Buyers with the inventories of --
1) New Vehicle manufacturers Japan
2) Used Vehicle Exporters of Japan
3) 105 Japanese Auction Houses where 25,000 vehicles are auctioned in a day
4) Used Vehicle Dealers serving the local market
5) Private Individual Sellers
6) Stocks of Car-Buying-Houses which are available for time bound immediate sale before going to the auction house.

Feature No.2
Multilingual display of the inventory data. This database is mainly intended for non-English speaking nationalities of the under developing & developing countries.

Feature No.3
Photo & Video Images of the vehicle inventory.

Feature No.4
The Members consisting of manufacturers, exporters, dealers etc can interact, communicate and share files online among themselves and with an importer- buyer. Like an online community for businesses involved in the vehicle business.
It will be an informative resource and an online meeting point of buyer-importer and seller-exporter. But I will export where a buyer requests my services. So online secured payment gateway.

Feature No.5
Search by Country

Feature No.6
Directory / Yellow Pages / Rainbow Pages - Fee / Payment based Listing.

Kumararaja
Top achievements
Rank 1
 asked on 04 Jun 2008
2 answers
173 views
I'm using a modal radWindow to display a message while the server does a postback to upload a file. It's not working exactly like I want. :)

In IE - It seems to work fine. It took some tweaking, but it opens, loads the simple HTML and has the loadingbar gif moving. The skin shows up and everything goes good.
In FF - The skin doesn't completely load, most notable is the titlebar. The HTML doesn't load either, so my message to the user isn't showing.

If I put an alert in before I do the ajax disable to upload a file, then FF works fine and in IE the gif doesn't'move', but works fine otherwise.

The relevant (as far as I know, but I've been surprised before) is
function FileAjax(sender, args) 
{ 
    var oWnd = window.radopen("http://www.smibackoffice.com/FileUpload.html", "Uploading File"); 
     
    oWnd.set_modal(true);    
    oWnd.set_behaviors(Telerik.Web.UI.WindowBehaviors.None); 
    oWnd.set_height(100); 
    oWnd.set_status(false); 
    oWnd.set_title("Processing your request... Please wait..."); 
     
    conditionalPostback(sender, args); 
} 
//Disables AJAX to upload files 
function conditionalPostback(sender, args) 
{         
    args.EnableAjax = false; 
} 

and
<telerik:RadAjaxPanel ID="ajaxCommission_Reimbursement_01" runat="server" ClientEvents-OnRequestStart="FileAjax" style="display:inline"> 
    <input id="fileCommission_Reimbursement_01" type="file" runat="server" /> 
    <asp:Button ID="cmdCommission_Reimbursement_01" runat="server" Text="Upload" CssClass="button"  
        CausesValidation="False" onclick="cmdCommission_Reimbursement_01_Click" /> 
</telerik:RadAjaxPanel> 
 
<telerik:RadWindowManager ID="RadWindowManager1" runat="server"  
    Behaviors="Resize, Close, Move" Height="500px" RestrictionZoneID="rdlMain"  
    ShowContentDuringLoad="True" Skin="WebBlue"   
    Width="600px" VisibleStatusbar="False"> 
</telerik:RadWindowManager> 

The HTML I am trying to display is
<table width="100%"> 
    <tr> 
        <td align="center"> 
            Please wait while the file is uploaded.<br> 
            This can take some a while for large files. Please be patient. 
        </td> 
    </tr> 
    <tr> 
        <td align="center"> 
            <img src="LoadingProgressBar.gif"> 
        </td> 
        </tr> 
    <tr> 
<table> 
with the progressbar being the Telerik one of the same name.


I'm pretty lost on what to try to get it to display properly in FF without forcing the user to click an extra button (not really acceptable for my app). Any suggestions or pointers would be great. I haven't sat down and worked with a simple project yet, time crunch. :)

Tips, pointers, advice, calling me crazy - all appreciated. If there is a better control to use to pop up a modal item that can display some custom (doesn't need to be separate page) HTML - I'd love to hear that suggestion too. Looking over the rad controls and other controls I have the RadWindow looked like the best option; I am completely open to the possibility I missed the settings that would make something else more better faster.

Many thanks
Baatezu
Top achievements
Rank 2
 answered on 04 Jun 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?