Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
99 views
hiii,,
how can i remove the underline in hyperlinkcolumn?

regards
hash
Shinu
Top achievements
Rank 2
 answered on 24 Aug 2012
3 answers
120 views
Good afternoon,

I am creating a WebUserControl, and it got a menu and a RadComboBox, where I created a Width property therein.
Would you like a hint of you have some method that I call the combo update for it, because when I fill my property width does not resize the combo in "Design", but when I compile the project and squeegee on the browser size the combo is in agreement with the value set in the property.

Following is the code used in the annex.

<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="comCedente.ascx.vb" Inherits="GSaaSD.comCedente" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<asp:Panel ID="pnCombo" runat="server" Width="276px" style="float:left;">
    <div id="DivMenu"
        style="float:left;margin-top:0px; width: 150px;height:15px;">
        <telerik:RadMenu ID="RadMenu1" runat="server"
            EnableRoundedCorners="true" EnableShadows="true"
            Width="13px" Height="15px" Skin="Web20"
            BackColor="White" BorderColor="White" style="z-index:100;" ClickToOpen="true" >
            <Items>
                <telerik:RadMenuItem Text="" Width="11px" Height="13px" PostBack="False" ImageUrl="../../Imagens/seta_baixo.png" >
                    <Items>
                        <telerik:RadMenuItem Text="Fornecedor" />
                        <telerik:RadMenuItem Text="Usuário" />
                        <telerik:RadMenuItem Text="Plano de Conta" />
                    </Items>
                </telerik:RadMenuItem>
            </Items>
        </telerik:RadMenu>
        <asp:Label ID="lblCedente" Text="" runat="server" style="z-index:101;margin-left:5px;font-family:segoe ui, arial, sans-serif;font-size:11px;"></asp:Label>
    </div>
    <p style="clear:both;width:15px;height:2px;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;"></p>
    <telerik:RadComboBox ID="combo" runat="server" EnableAutomaticLoadOnDemand="True"
        EnableVirtualScrolling="True" Filter="StartsWith" ForeColor="#666666" ItemsPerRequest="10"
        LoadingMessage="Carregando..." MaxLength="50" ShowMoreResultsBox="True" AutoPostBack="True"
        Width="275px" Skin="Default"
        style="z-index:102;margin-right:0px;padding-right:0px;">
    </telerik:RadComboBox>
</asp:Panel>

Public Property Width_Combo() As Integer
    Get
        Return Width_Controle_Combo
    End Get
    Set(ByVal value As Integer)
        combo.Width = value
        pnCombo.Width = value
    End Set
End Property
Ivana
Telerik team
 answered on 24 Aug 2012
1 answer
313 views
OnCheckedChanged event fires in any case but when I de-check the very last flag still on.
Is it known?
Thank you

<
telerik:GridTemplateColumn>
<ItemTemplate>
<asp:CheckBox ID="CheckBoxSet" AutoPostBack="True"  OnCheckedChanged="RadGridScheduler_CheckChanged" runat="server" />                                                                   
 </ItemTemplate>                                                               
<HeaderStyle Width="30px" />
</telerik:GridTemplateColumn>
 
 
    Protected Sub RadGridScheduler_CheckChanged(ByVal sender As Object, ByVal e As EventArgs)
        Try
            'here
        Catch ex As Exception
            Call LogManager.WriteToErrorLog(errorPath, ClassName, System.Reflection.MethodBase.GetCurrentMethod.Name.ToString(), ex, Err)
        End Try
    End Sub
Eyup
Telerik team
 answered on 24 Aug 2012
5 answers
113 views
Dear Team,


i ve a web site with many rad controls in front page like Rad Dock, Rad Menu, Rad Grid, Rad Tool Tip, Rad Slider.

While opening the front page all rad controls are opening first than rad slider.

i want to show rad slider first or with other other controls.

could u give the suggestion, why rad slider is opening later.

Also give some solution.


regards,
Satyadev.
Slav
Telerik team
 answered on 24 Aug 2012
1 answer
81 views

Hi,

I am dynamically adding RadComboBoxes to placeholder and I have a search Button and reset Button.
I am using Page method to data bind  RadComboBox as shown in the link.
On clicking "search" Button,  I collect values from these Comboxes and process the information.
By clicking "Reset" button, I  clear the selection from Comboboxes .

After a post back from "search" button, if I try to reset ComboBoxes, it does not clear the selection from  comboBoxes.
But if "Reset"  button is clicked before any post back to server,   it successfully  clears selection from comboBoxes.



Dynamically Adding Comboxes :
             RadComboBox  radAutoCompleteBox = new RadComboBox();
             radAutoCompleteBox  .ID = f"ACPTBox"+ i;
              radAutoCompleteBox.WebServiceSettings.Method = "GetDataForSearchControl";
              radAutoCompleteBox.WebServiceSettings.Path = "TSearch.aspx";
              radAutoCompleteBox.CssClass = "TSrchCBBox"; 
              
              radAutoCompleteBox.OnClientItemsRequesting = "autoCompleteRequesting";
             
              radAutoCompleteBox.Skin = "Office2010Blue";
              radAutoCompleteBox.EnableEmbeddedSkins = true;
              radAutoCompleteBox.EnableViewState = true;
              radAutoCompleteBox.AutoPostBack = false;
              radAutoCompleteBox.AllowCustomText = true;
              radAutoCompleteBox.EnableLoadOnDemand = true;
              radAutoCompleteBox.EnableVirtualScrolling = true;
              radAutoCompleteBox.ShowMoreResultsBox = true;
             
           

TO CLEAR SELECTION 

                  radAutoCompleteBox.ClearSelection(); //THIS DOES NOT WORK
                  radAutoCompleteBox.Items.Clear(); 
                  radAutoCompleteBox.SelectedIndex = -1;
                  radAutoCompleteBox.Text = "";


             

http://demos.telerik.com/aspnet-ajax/combobox/examples/populatingwithdata/autocompletesql/defaultcs.aspx 

Can someone help me in solving this issue?
Thanks,
Prava
Ivana
Telerik team
 answered on 24 Aug 2012
1 answer
112 views
hii,
how can i hide the next/prev buttons in calender?

thanks....
Princy
Top achievements
Rank 2
 answered on 24 Aug 2012
1 answer
112 views
hi,,
how to save and load state of raddock in database..

thanks..
Shinu
Top achievements
Rank 2
 answered on 24 Aug 2012
2 answers
79 views
Hello telerik team,

the RadAjaxPanel loops under certain conditions and never stops until
clicking the browsers reload button.

I solved the problem, but other users might have the same problem some time.

Situation:
On the left side resides a country filter in a RadListBox and on the right side a
RadTabStrip with a RadMultipage. By selecting a country the tab reloads via the
RadAjaxManger and the AjaxPanel shows progress. Selecting another tab everything
works fine, but going back to the first tab and selecting another country, the AjaxPanel loops.

Reason:
I built some JavaScript around the RadListBox because i wanted multiple selection
without holding CTRL. I found the following script and it works fine:

Sys.Application.add_load(function () {
            var clb = findCountryListBox();
 
            $telerik.$(".rlbItem", clb._getGroupElement())
            .click(function (event) {
                event.stopImmediatePropagation();
                event.ctrlKey = true;
                clb._onClick(event);
            });
  });

The programm worked until i wanted to set the initial width of a RadSlider in percentage.
I added a couple of lines at the top of the Sys.Application.add_load method, but changing
the width of the slider in this method prevents the AjaxPanel from proper execution.

Sys.Application.add_load(function () {
            var clb = findCountryListBox();
            var ms = findMarginSlider();
         
        x = $("#marginTextRow").width();
       var offsetWidth = x * 0.9;
       ms.set_width(offsetWidth);
 
            $telerik.$(".rlbItem", clb._getGroupElement())
            .click(function (event) {
                event.stopImmediatePropagation();
                event.ctrlKey = true;
                clb._onClick(event);
            });
        });

Solution:
I changed the way to set the initial witdth which is shown here How to set the Width/Height of RadSlider in percentages
and the AjaxPanel runs fine.

I hope my post is not too confusing, but changing a controls property in the Sys.Application.add_load
method might be not a good idea if you're working with the RadAjaxManager and the RadAjaxPanel.

Firstable i tried several ways to configure the RadAjaxManger but nothing prevented the
AjaxPanel from looping until i moved the code that sets the slider width to another method.

Greetings,
Hubert
Hubert
Top achievements
Rank 1
 answered on 24 Aug 2012
5 answers
482 views
I have a bit strange issue in my tab , when I am trying to change the tab run time , it will select the tab but does not show tab page view!

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderContent" runat="server">
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanelDemo" runat="server" Skin="Metro">
    </telerik:RadAjaxLoadingPanel>
    <telerik:RadAjaxManagerProxy ID="radAjaxManagerAllBetsDifficultToRead" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="ucAllBetsDifficultToRead">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="ucBetsDifficultToReadDetail" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="radMultiPageAllBetsDifficultToRead">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="radTabStripAllBetsDifficultToRead" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <div id="maincontent" class="tabpage">
        <telerik:RadTabStrip ID="radTabStripAllBetsDifficultToRead" runat="server" SelectedIndex="0"
            Skin="Metro" MultiPageID="radMultiPageAllBetsDifficultToRead">
            <Tabs>
                <telerik:RadTab runat="server" Text="All Bets" Selected="True">
                </telerik:RadTab>
                <telerik:RadTab runat="server" Text="Selected Bets">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>
        <telerik:RadMultiPage ID="radMultiPageAllBetsDifficultToRead" runat="server" SelectedIndex="0"
            CssClass="pageView" Width="98%">
            <telerik:RadPageView ID="radPageViewTakeBet" runat="server">
                <br />
                <uc1:AllBetsDifficultToRead ID="ucAllBetsDifficultToRead" runat="server" OnCheckClick="UcAllBetsDifficultToReadClick" />
                <br />
            </telerik:RadPageView>
            <telerik:RadPageView ID="radPageViewTranslate" runat="server">
                <br />
                <uc2:BetsDifficultToReadDetail ID="ucBetsDifficultToReadDetail" runat="server" />
                <br />
            </telerik:RadPageView>
        </telerik:RadMultiPage>
        <br />
        <br />
    </div>
</asp:Content>

Any one suggest me some idea for it!
All I am doing is one a user control Handler I am trying to change the tab index!
protected void UcAllBetsDifficultToReadClick(object sender, EventArgs e)
       {       
           
           radMultiPageAllBetsDifficultToRead.SelectedIndex = 1;
          radTabStripAllBetsDifficultToRead.Tabs[1].Selected = true;
           radMultiPageAllBetsDifficultToRead.PageViews[1].Selected = true;
 
          // radMultiPageAllBetsDifficultToRead.SelectedIndex = 1;
       }

Thanks for the time!

Hubert
Top achievements
Rank 1
 answered on 24 Aug 2012
1 answer
68 views
I have a situation where I would like to restrict the images shown in the manager window to a specific subset of the entire folder, but also allow them to upload images to that folder. Specifically, only display images that are already referenced in the text that has been loaded into the editor, or images that have been uploaded in the current session. 

For example, if the contents of the editor does not have any images, then no images would be available in the image manager, regardless of what the view folder contains. However, any images that were uploaded in that same session should be available to insert. Alternatively, if the editor has been loaded with content that does contain images, then those images, and only those images, should be available (again, except for images that the user uploads within that session).

This could be done if there was a way to define a search pattern for the view that's separate from the upload search pattern, but since that's not defined I'm looking for alternative means to replicate this functionality. I'm looking for a way to limit the images that are accessible by document's they are included in so a person who is editing document A can't see the images uploaded for document B.

Is there currently a way to implement this functionality?
Dobromir
Telerik team
 answered on 24 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?