Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
94 views
Hi,

I would like to put the text property of the menu, underneath the image of the menu. Please help





Menu Html:

<div id="ctl00_RadMenu1" class="RadMenu RadMenu_" style="top: -2px; left: 0px;
                                            height: 26px">
    <!-- 2010.3.1109.40 --><ul class="rmRootGroup rmHorizontal">
        <li class="rmItem rmFirst"><a href="#" class="rmLink rmRootLink"><img alt="" src="../Images/button_home_on.jpg" class="rmLeftImage" /><span class="rmText">Home</span></a><div class="rmSlide">
            <ul class="rmVertical rmGroup rmLevel1">
                <li class="rmItem rmFirst"><a href="1About.aspx?cat=directAbout" class="rmLink menuItems"><span class="rmText">About BJM</span></a></li><li class="rmItem "><a href="1About.aspx?cat=directStockBroking" class="rmLink menuItems"><span class="rmText">Stock Broking</span></a></li><li class="rmItem "><a href="1AboutArt.aspx?art=1053338" class="rmLink menuItems"><span class="rmText">Contracts for Difference (CFD's)</span></a></li><li class="rmItem "><a href="1About.aspx?cat=directPersonal" class="rmLink menuItems"><span class="rmText">Personal Portfolios</span></a></li><li class="rmItem "><a href="1About.aspx?cat=directMulti" class="rmLink menuItems"><span class="rmText">Multi-Managed Funds</span></a></li><li class="rmItem "><a href="1About.aspx?cat=directOffshore" class="rmLink menuItems"><span class="rmText">Offshore Investments</span></a></li><li class="rmItem "><a href="1About.aspx?cat=directAlternative" class="rmLink menuItems"><span class="rmText">Alternative Investments</span></a></li><li class="rmItem "><a href="1AboutArt.aspx?art=1072714" class="rmLink menuItems"><span class="rmText">Cash Management Solutions</span></a></li><li class="rmItem "><a href="1About.aspx?cat=directCharitable" class="rmLink menuItems"><span class="rmText">Charitable Giving Service</span></a></li><li class="rmItem "><a href="1About.aspx?cat=directArt2010" class="rmLink menuItems"><span class="rmText">BJM Primary School Art Competition</span></a></li><li class="rmItem "><a href="1About.aspx?cat=directPress" class="rmLink menuItems"><span class="rmText">BJM in the Press</span></a></li><li class="rmItem "><a href="1About.aspx?cat=directNewsletters" class="rmLink menuItems"><span class="rmText">BJM Newsletters</span></a></li><li class="rmItem rmLast"><a href="1About.aspx?cat=directBlogs" class="rmLink menuItems"><span class="rmText">BJM Blogs</span></a></li>
            </ul>
        </div></li><li class="rmItem "><a href="#" class="rmLink rmRootLink"><img alt="" src="../images/button_blank_off.jpg" class="rmLeftImage" /><span class="rmText">Markets</span></a><div class="rmSlide">
            <ul class="rmVertical rmGroup rmLevel1">
                <li class="rmItem rmFirst"><a href="../menuMarkets/1SAOverview.aspx" class="rmLink menuItems"><span class="rmText">SA Overview</span></a></li><li class="rmItem "><a href="../menuMarkets/1MarketIndice.aspx" class="rmLink menuItems"><span class="rmText">Market Indices</span></a></li><li class="rmItem "><a href="../menuMarkets/1Constituent.aspx" class="rmLink menuItems"><span class="rmText">Sector Constituents</span></a></li><li class="rmItem "><a href="../menuMarkets/1MarketActive.aspx" class="rmLink menuItems"><span class="rmText">Most Actives</span></a></li><li class="rmItem "><a href="../menuMarkets/1MarketGL.aspx" class="rmLink menuItems"><span class="rmText">Gainers &amp; Losers</span></a></li><li class="rmItem "><a href="../menuMarkets/1ShareCommentary.aspx" class="rmLink menuItems"><span class="rmText">Share Commentary</span></a></li><li class="rmItem "><a href="../menuMarkets/1MarketWarrants.aspx" class="rmLink menuItems"><span class="rmText">Warrant Activity</span></a></li><li class="rmItem "><a href="../menuMarkets/1FixedInterest.aspx" class="rmLink menuItems"><span class="rmText">Fixed Interest</span></a></li><li class="rmItem "><a href="../menuMarkets/1Commodities.aspx" class="rmLink menuItems"><span class="rmText">Commodities</span></a></li><li class="rmItem "><a href="../menuMarkets/1Currency.aspx" class="rmLink menuItems"><span class="rmText">Currencies</span></a></li><li class="rmItem rmLast"><a href="../menuMarkets/1SASens.aspx" class="rmLink menuItems"><span class="rmText">SENS Releases</span></a></li>
            </ul>
        </div></li><li class="rmItem "><a href="#" class="rmLink rmRootLink"><img alt="" src="../images/button_blank_off.jpg" class="rmLeftImage" /><span class="rmText">Quotes and Research</span></a></li><li class="rmItem "><a href="#" class="rmLink rmRootLink"><img alt="" src="../images/button_blank_off.jpg" class="rmLeftImage" /><span class="rmText">Portfolios</span></a><div class="rmSlide">
            <ul class="rmVertical rmGroup rmLevel1">
                <li class="rmItem rmFirst"><a href="../menuPortfolio/1Portfolio.aspx" class="rmLink menuItems"><span class="rmText">Portfolio Manager</span></a></li><li class="rmItem rmLast"><a href="../menuPortfolio/1PortCreate.aspx" class="rmLink menuItems"><span class="rmText">Create / Modify WatchList</span></a></li>
            </ul>
        </div></li><li class="rmItem "><a href="#" class="rmLink rmRootLink"><img alt="" src="../images/button_blank_off.jpg" class="rmLeftImage" /><span class="rmText">Trading</span></a><div class="rmSlide">
            <ul class="rmVertical rmGroup rmLevel1">
                <li class="rmItem rmFirst"><a href="../menuTrading/1Trade.aspx" class="rmLink menuItems"><span class="rmText">Enter Equity Order</span></a></li><li class="rmItem "><a href="../menuTrading/1OpenOrders.aspx" class="rmLink menuItems"><span class="rmText">Open Orders</span></a></li><li class="rmItem "><a href="../menuTrading/1History.aspx" class="rmLink menuItems"><span class="rmText">Trading History</span></a></li><li class="rmItem "><a href="../menuTrading/1MultiManagerTransactionHistory.aspx" class="rmLink menuItems"><span class="rmText">My Transactions</span></a></li><li class="rmItem rmLast"><a href="../menuTrading/1MultiManagerFundHome.aspx" class="rmLink menuItems"><span class="rmText">BJM Multi Manager Funds</span></a></li>
            </ul>
        </div></li><li class="rmItem "><a href="#" class="rmLink rmRootLink"><img alt="" src="../images/button_blank_off.jpg" class="rmLeftImage" /><span class="rmText">Account Information</span></a><div class="rmSlide">
            <ul class="rmVertical rmGroup rmLevel1">
                <li class="rmItem rmFirst"><a href="../menuAccount/1Account.aspx" class="rmLink menuItems"><span class="rmText">Account Summary</span></a></li><li class="rmItem "><a href="../menuAccount/1AccountPerf.aspx" class="rmLink menuItems"><span class="rmText">Account Performance</span></a></li><li class="rmItem "><a href="../menuAccount/1AccountActivity.aspx" class="rmLink menuItems"><span class="rmText">Account Activity</span></a></li><li class="rmItem "><a href="../menuAccount/1OrderHistory.aspx" class="rmLink menuItems"><span class="rmText">Order History</span></a></li><li class="rmItem "><a href="../menuAccount/1Reports.aspx" class="rmLink menuItems"><span class="rmText">Reports</span></a></li><li class="rmItem "><a href="../menuAccount/1ReportsEBN.aspx" class="rmLink menuItems"><span class="rmText">Contract Notes</span></a></li><li class="rmItem "><a href="../menuAccount/1CashTransfer.aspx" class="rmLink menuItems"><span class="rmText">Cash Transfer</span></a></li><li class="rmItem "><a href="../menuAccount/1AlertView.aspx" class="rmLink menuItems"><span class="rmText">View Alerts</span></a></li><li class="rmItem "><a href="../menuAccount/1AlertCap.aspx" class="rmLink menuItems"><span class="rmText">Set Alerts</span></a></li><li class="rmItem "><a href="../menuAccount/1ViewFica.aspx" class="rmLink menuItems"><span class="rmText">FICA Compliance</span></a></li><li class="rmItem rmLast"><a href="../menuAccount/1ViewMandate.aspx" class="rmLink menuItems"><span class="rmText">Online Mandate</span></a></li>
            </ul>
        </div></li><li class="rmItem rmLast"><a href="#" class="rmLink rmRootLink"><img alt="" src="../images/button_blank_off.jpg" class="rmLeftImage" /><span class="rmText">Personal Details</span></a><div class="rmSlide">
            <ul class="rmVertical rmGroup rmLevel1">
                <li class="rmItem rmFirst"><a href="../menuPersonal/1Personal.aspx" class="rmLink menuItems"><span class="rmText">Personal Details</span></a></li><li class="rmItem "><a href="../menuPersonal/1ChangePwd.aspx" class="rmLink menuItems"><span class="rmText">Change Password</span></a></li><li class="rmItem "><a href="../menuPersonal/1ChangeUser.aspx" class="rmLink menuItems"><span class="rmText">Change Username</span></a></li><li class="rmItem "><a href="../menuPersonal/1AccServices.aspx" class="rmLink menuItems"><span class="rmText">Set Preferences</span></a></li><li class="rmItem rmLast"><a href="../menuPersonal/1AlertDelOpt.aspx" class="rmLink menuItems"><span class="rmText">Delivery Options</span></a></li>
            </ul>
        </div></li>
    </ul><input id="ctl00_RadMenu1_ClientState" name="ctl00_RadMenu1_ClientState" type="hidden" />
</div>
Kate
Telerik team
 answered on 21 Nov 2011
1 answer
199 views

 How can use Grid FilterExpression on DataTable.

Iana Tsolova
Telerik team
 answered on 21 Nov 2011
1 answer
96 views
Hi,

I am binding to a sql server data source and the recurrence pattern is stored there. Here is an example - 

DTSTART:20110101T000000Z  DTEND:20120630T000000Z  RRULE:FREQ=WEEKLY;UNTIL=20120630T000000Z;INTERVAL=1;BYDAY=TU  


In the screen shot, this appointment (titled Cardiology Grand Rounds 2011-2012) displays on Tuesday, and then continues onward, left-to-right. My expectation would be there would be one entry on every Tuesday, rather than what is shown in the screen shot. The same thing happens for all recurring appointments. What am I doing wrong? Thanks.

Plamen
Telerik team
 answered on 21 Nov 2011
3 answers
508 views
Im using AsynUpload to upload a file, and an asp button to submit the the process of the file.
<telerik:RadProgressManager runat="server" ID="RadProgressManager1" />
<telerik:RadAsyncUpload ID="rauFileUpload" runat="server" Width="95%"
                        OnClientValidationFailed="validationFailed" 
                        AllowedFileExtensions="xls" 
                        MaxFileSize="4000000">
</telerik:RadAsyncUpload>
<br />
<asp:button id="btnCharge" runat="server" OnClick="btnCharge_Click" /> 
<br />
<telerik:RadProgressArea runat="server" ID="RadProgressArea1" skin="Default" ProgressIndicators="TotalProgressBar, TotalProgressPercent">
</telerik:RadProgressArea>

The problem was when i double click on the button btnCharge i get the Exception
Server Error in '/EPR' Application.
--------------------------------------------------------------------------------
  
Could not find file 'C:\RPG\01-NET\EPR\EPR\EPR\App_Data\RadUploadTemp\nt2njtqp.xhy'. 
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.IO.FileNotFoundException: Could not find file 'C:\RPG\01-NET\EPR\EPR\EPR\App_Data\RadUploadTemp\nt2njtqp.xhy'.
  
Source Error: 
  
  
Line 70: 
Line 71:             string fileName = Path.GetTempFileName();
Line 72:             uf.SaveAs(fileName);
Line 73:             
Line 74:             //DataSet ds = HLPimportExcel.ImportExcel(fileName, Yes);
   
  
Source File: c:\RPG\01-NET\EPR\EPR\EPR\Pages\HES\ServicesMassiveCharge.aspx.cs    Line: 72 
  
Stack Trace: 
  
  
[FileNotFoundException: Could not find file 'C:\RPG\01-NET\EPR\EPR\EPR\App_Data\RadUploadTemp\nt2njtqp.xhy'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +305
   System.IO.File.Move(String sourceFileName, String destFileName) +239
   Telerik.Web.UI.AsyncUploadedFile.SaveAs(String fileName, Boolean overwrite) +81
   Telerik.Web.UI.UploadedFile.SaveAs(String fileName) +38
   Pages_HES_ServicesMassiveCharge.btnCharge_Click(Object sender, EventArgs e) in c:\RPG\01-NET\EPR\EPR\EPR\Pages\HES\ServicesMassiveCharge.aspx.cs:72
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
  
   
  
  
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.5448; ASP.NET Version:2.0.50727.5420

I solve the problem with those double-click-on-buttons users with javasript, disabling the button and forcing a postback
        function enableLoadButton(button)
        {   
            button.disabled = true;
              
            __doPostBack("<%= btnCharge.UniqueID %>");
              
            return;
        }
  
<asp:button id="btnCharge" runat="server" OnClick="btnCharge_Click" OnClientClick="enableLoadButton(this)" />

Its solve the problem for some users, other still have the problem.
I try the different configurations of the time persistens of the files and nothing. In some point the uploaded file dissapear and i get the exception.
This occurs after the file was processed, when the response is created and i dont need to access to it anymore.

   Hope u can assist me, ask me if u need more info.
Peter Filipov
Telerik team
 answered on 21 Nov 2011
4 answers
145 views
Every now and then, if a user hits the PasteStript button to paste in to the editor, an alert window shows up saying "Please use Ctrl+V to Paste".

Why would this happen and, more importantly, how do I stop it?

FWIW, the alert looks a bit like a RadAlert except there is no chrome. It most assuredly isn't a standard javascript alert.

--
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 21 Nov 2011
2 answers
116 views
Hi
I'm working with IIS 7.5 and windows server 2008 x64 but i have a problem

Webpage error details

 

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)

Timestamp: Fri, 18 Nov 2011 14:36:17 UTC

 

 

Message: Sys.WebForms.PageRequestManagerServerErrorException: Exception has been thrown by the target of an invocation.

Line: 6

Char: 84093

Code: 0

URI: http://localhost/SAA/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a8f393b2b-3315-402f-b504-cd6d2db001f6%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2011.2.915.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a8a3454ab-b0eb-4774-9c97-f1758de16536%3a16e4e7cd%3af7645509%3a24ee1bba%3ae330518b%3a1e771326%3ac8618e41%3a58366029%3ae4f8f289%3aed16cbdc

Ivan
Top achievements
Rank 1
 answered on 21 Nov 2011
1 answer
123 views
Hi, I am wondering if there is any way to trap the Recurrence checkbox checked event client side? It would be wonderful to be able to get the checkbox state client side to do some validation on other data on our form. Thanks.
Plamen
Telerik team
 answered on 21 Nov 2011
5 answers
168 views
I am trying to load fresh data after one full rotation of the rotator. After a full cycle completes I'd like to have an event fire to reload new data and there's no event so far as I can see to do this. The data consists of live scores for a sporting event and I'd like to use one full rotation as the trigger to refresh the data. I am using the Live XML example as my basis. Please advise on the best way to accomplish this as there's no event to signal that a rotation is complete. Clearly the rotator must know when a cycle is complete since it can wrap frames. Thank you.

Regards,
George 
Slav
Telerik team
 answered on 21 Nov 2011
1 answer
269 views
Hi, i am trying to use the RadFileExplorer with physical and shared folder's paths

I try with this article
http://www.telerik.com/support/kb/aspnet-ajax/editor/physical-paths-and-different-content-types.aspx

In my code i get an error Type 'CustomFileSystemProvider' is not defined

By error i mean can not compile my code!

What i need to do?

- I include all the file in the App_code
- Include de FileSystemHandler.ashx in the root of my project

For now i am trying to do it locally on my machine!

I am using vb

Tks

Rumen
Telerik team
 answered on 21 Nov 2011
4 answers
330 views
Hi,

I want to put the Radcombobox (Demo: http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/treeviewcombobox/defaultcs.aspx?product=combobox) within formview control. Thats mean, I need to display the selected value on RadComboBox using c# code (For example, Asia). I tried to do that, but it is not working.

Can you please explain to me how can I do that?

Regards,
Bader
Bader
Top achievements
Rank 1
 answered on 21 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?