Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
149 views
Hello,

I Want to change the back-image of the selectbutton
I searched for it on your forum but I can not fix it

I have radasynxupload on a dialog form

this is the style i use in the form

.ruBrowse

{

background-image: url(/Images/newbutton.gif);

background-position: 0 -46px !important;

width: 150px !important;

}

The width i working correct but the backgroundimage newbutton is not loaded

this is the Radasyncupload on my form:

 

<

 

telerik:RadAsyncUpload ID="AsyncUpload1" runat="server"

 

 

AllowedFileExtensions="jpeg,jpg,gif,png,bmp" MaxFileInputsCount="1"

 

 

OnClientFileUploaded="fileUploaded" OnClientValidationFailed="validationFailed"

 

 

OnFileUploaded="AsyncUpload1_FileUploaded" Width="273px" Height="16px">

 

 

 

<Localization Select="Kies diploma /certificaat" />

 

 

 

</telerik:RadAsyncUpload>

Please can anyone help me?

Mart

 

Peter Filipov
Telerik team
 answered on 01 Mar 2012
1 answer
192 views
I have a page with multiple controls. The first time the page loads, each control has to get data from different sources. Some of them will take some time to load. So, I want to show the page with placeholders and a busy icon that will be filled when the data is loaded in each control.

I found an example on the net: http://www.codeproject.com/Articles/23768/Load-and-Display-Page-Contents-Asynchronously-with 

However, I am wondering if telerik already has it in their library. I think I might have seen a demo somewhere. Please note that I am not looking for an update panel which loads everything on the server side and then updates the part on the client that has changed.

Any help or a sample will be appreciated.

Thanks
SK
Maria Ilieva
Telerik team
 answered on 01 Mar 2012
5 answers
323 views
Is is possible to specifiy a different skin for the radalert window than the others? I'd really like my radalert windows to stand out with a different color scheme that the rest of my radwindows.
M. R.
Top achievements
Rank 1
 answered on 01 Mar 2012
1 answer
78 views
Hi gurus,

I have a Master/Content project with an empty RadScriptManager and RadAjaxManager in the Master page.  I'm using the RadAjaxManagerProxy in the content.

On my content page I have 2 almost identical sets of controls (a search text box and a place to display the results).  You type something into one of the RadTextBoxes and when you hit Enter it runs off to our search engine, fetches some results and plops them nicely under the appropriate RadTextBox in a Label cotrol.  As I mentioned, I have 2 sets of these.  They both work but at the same time, i.e. they both get fired together.  So when I do a search for a Person, the Category event gets fired too.

I am setting the RadAjaxManager up programatically on the Content page (see below).

protected void Page_Load(object sender, EventArgs e)
        {
              
            // Ajax set up
            var manager = RadAjaxManager.GetCurrent(this);
              
            // Add Person
            manager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(RadAjaxManager_SearchPerson);
            manager.AjaxSettings.AddAjaxSetting(manager, lblResultsPerson, RadAjaxLoadingPanel1);
  
            // Add Category
            manager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(RadAjaxManager_SearchCategory);
            manager.AjaxSettings.AddAjaxSetting(manager, lblResultsCategory, RadAjaxLoadingPanel1);
  
        }

Here is the ASPX:

<tk:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"></tk:RadAjaxManagerProxy>
<tk:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Windows7" InitialDelayTime="200" />
  
<tk:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
  
        function SearchPerson(sender, eventArgs) {
            var ajaxManager = $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>");
            ajaxManager.ajaxRequest(sender.get_value());
        }
  
        function SearchCategory(sender, eventArgs) {
            var ajaxManager = $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>");
            ajaxManager.ajaxRequest(sender.get_value());
        }
    </script>
</tk:RadCodeBlock>
  
Current time: <asp:Label ID="lblTime" runat="server"></asp:Label>
<br /><br />
<h2>Person search</h2>
  
<tk:RadTextBox ID="txtSearchPerson" runat="server" width="250px" EmptyMessage="Search for a person..." ClientEvents-OnValueChanging="SearchPerson"></tk:RadTextBox>
      
<div class="searchResults">
    <asp:Label ID="lblResultsPerson" runat="server"></asp:Label>
    <asp:Label ID="lblTotalPerson" runat="server" CssClass="searchTotal"></asp:Label>
</div>
  
  
<br /><br />
<h2>Category search</h2>
  
<tk:RadTextBox ID="txtSearchCategory" runat="server" width="250px" EmptyMessage="Search for a category..." ClientEvents-OnValueChanging="SearchCategory"></tk:RadTextBox>
     
<div class="searchResults">
    <asp:Label ID="lblResultsCategory" runat="server"></asp:Label>
    <asp:Label ID="lblTotalCategory" runat="server" CssClass="searchTotal"></asp:Label>
</div>

I know it's probably doing what I'm telling it to do - i.e. run them both!  But that's not what I want - I only want e.g the Category search to fire when I fire off the SearchCategory function - and for that to leave the SearchPerson alone.  What am I missing here?

Many thanks in advance!
Maria Ilieva
Telerik team
 answered on 01 Mar 2012
1 answer
55 views

I'm a bit behind the curve on this. I've just stumbled across an archaic user who is still using IE7 and the sub menus are not visible for them.  I've read some posts which make me think it may be the IE7 stacking issue, but I can't seem to do anything with z-index to help.  My RadMenu already has a high z-index.  How do I set the z-index of the sub menus. 


CSS isn't my strong suit, so any assistance is appreciated.

Thanks.
Dave
Kate
Telerik team
 answered on 01 Mar 2012
2 answers
320 views
Hello,

I have a page that includes a RadFormDecorator set to "Vista" skin. However, when I open a RadAlert window the skin is not applied...
Please advise.

Regards,
M.R.
M. R.
Top achievements
Rank 1
 answered on 01 Mar 2012
1 answer
103 views
Hi,

I would like to  set the Http Handler as a datasource for RadScheduler, it it even possible.
If yes, what will be my settings?

 <telerik:RadScheduler ID="RadScheduler1" runat="server"   SelectedView="WeekView"
          OnClientAppointmentDoubleClick="OnAppointmentClick"
         OnClientAppointmentWebServiceInserting="OnClientAppointmentWebServiceInserting" >
         <WebServiceSettings Path="Scheduler.ashx" ResourcePopulationMode="ServerSide"   />
              <timelineview columnheaderdateformat="h:mm tt"  groupingdirection="Vertical" headerdateformat="MM/dd/yyyy h:mm tt"
                         numberofslots="21" slotduration="00:30:00" starttime="08:00:00" />
            
        </telerik:RadScheduler>
Thanks,
Prava
Plamen
Telerik team
 answered on 01 Mar 2012
3 answers
115 views
I have searched the documents and forum trying to figure this one out.  Out of the box when you click on a panel item the bar stays where it is and it expands below it.  I would like it to do the same, but I want the bar to go to the bottom.  Is it possible to do this?
Kate
Telerik team
 answered on 01 Mar 2012
2 answers
125 views
Hello Telerikians,
 I was wondering if the easiest way of showing ContextMenu over RadBinaryImage is old-fashioned handling of right-click event in js mousedown/up.
Work problem is to pass the ID of a clicked image to code behind upon selection of a menuItem. Sketch up the main idea if you would, please!

regards
Tsvetina
Telerik team
 answered on 01 Mar 2012
0 answers
117 views
Hi,

I need to know how can I catch error message comming directily from my sql server.

For example:
I want the same result using try catch function of vb.net.

Try
    'Some sql command
Catch ex As Exception
    Label.Text = ex.Message
End Try

If I had some sql error message coming from server, It will be displayed in ex.message.


So I want after I edit some data in RadGrid, It display the same error on example above.


Thanks,

Allan.
Allan
Top achievements
Rank 1
 asked on 01 Mar 2012
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?