Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
370 views
I Can't Get CheckBox Checked Items, the "MsgList.CheckedItems.Count" Allways Zero. But In my Project another Place Can get it.

<--This Can't Get.-->
<telerik:RadNotification runat="server" ID="MessageNotification" AutoCloseDelay="0" Position="BottomRight" OffsetX="-20" OffsetY="-20" LoadContentOn="TimeInterval"
            ContentScrolling="Default" Title="MessageBox" Width="350" EnableRoundedCorners="true" UpdateInterval="10000"
            TitleIcon="~/Common/Images/LogoIcon/logo16.ico" OnCallbackUpdate="MessageNotification_OnCallbackUpdate" OnClientUpdated="OnClientUpdated">
            <ContentTemplate>
                <asp:UpdatePanel runat="server" ID="UpdatePanel1" UpdateMode="Conditional">
                    <ContentTemplate>
                        <div style="float: left; margin: 5px">
                            <telerik:RadListBox runat="server" ID="MsgList" Width="340" Height="300" CheckBoxes="True" Culture="zh-CN" DataSourceID="SqlDataSource1">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lbTime" Text='<%# Eval("OptionDateTime") %>'></asp:Label>
                                    <asp:Label runat="server" ID="lbDept" Text='<%# Eval("DepartmentName") %>'></asp:Label>
                                    <asp:Label runat="server" ID="lbUser" Font-Bold="True" Text='<%# Eval("RealName") %>'></asp:Label>
                                    <asp:Label runat="server" ID="lbMsg" ForeColor="Red" Text='<%# Eval("MessageText") %>'></asp:Label>
                                </ItemTemplate>
                            </telerik:RadListBox>
                            <div style="text-align: center;margin-top: 5px">
                                <telerik:RadButton runat="server" ID="btnSetReaded" Text="SetReaded" OnClick="btnSetReaded_Click"></telerik:RadButton>
                            </div>
                            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SMSConnectString %>"></asp:SqlDataSource>
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </ContentTemplate>
        </telerik:RadNotification>


​protected void btnSetReaded_Click(object sender, EventArgs e)
        {
             IList<RadListBoxItem> selItems = MsgList.CheckedItems;
            foreach (RadListBoxItem item in selItems)
            {
                ........
            }
        }


<--This Can Get -->
        <div class="col-mid2">
            <div style="font-size: 12px">Select Role:</div>
            <telerik:RadListBox runat="server" ID="lboxRoleID" Width="100%" Height="370" CheckBoxes="True" />
            <br/>
        </div>   
protected void btnSave_Click(object sender, EventArgs e)
        {
            int roleid = 0;
            IList<RadListBoxItem> collection = lboxRoleID.CheckedItems;
             foreach (RadListBoxItem item in collection)
            {
                ........
            }
        }
Shinu
Top achievements
Rank 2
 answered on 21 Jul 2014
1 answer
106 views
Since a few days I faced out huge performance issues on IE11 because of the last KB2962872 update.

Have a look at here https://connect.microsoft.com/IE/feedback/details/916652/ie-9-ie-11-freezes-in-some-situations-after-installation-of-kb2962872

With the KB2962872 update on Win7 the performance of Ajax Calls with RadAjaxManager on IE11 is unacceptable.
Performance was even better with IE6, I think!

Maybe someone else has this problem.

So it’s really hard to accept that we all are dependent from this Microsoft crap!
Konstantin Dikov
Telerik team
 answered on 21 Jul 2014
3 answers
294 views
Hi,

I am using telerik rad tool tip with default skin. I want to make the title of the tooltip bold. I tried to provide css for same, but it seems the default formatting is overriding my changes. Please help. I am using below code -

<telerik:RadToolTip ID= "feeInfo" runat = "server" TargetControlID = "imgFee" Position = "MiddleRight" Width = "225px"
Title = "About Total Fee" Text="Fees sourced from questionnaire" ShowEvent="OnClick">
</telerik:RadToolTip>

Below is the css -

.RadToolTip .rtTitlebar
{
font-weight: bold;
font-size: 15px;
}

Thanks,
Shefali
Asutosh
Top achievements
Rank 1
 answered on 21 Jul 2014
3 answers
239 views
I've RadTabStrip that opens RadWindow inside its content. But when the window opened, It only moves inside the tab.
I'd like to make the window moves all over the page. I need it to shown up on the middle of the whole page.

See Attachement.

Thanks
Marin Bratanov
Telerik team
 answered on 21 Jul 2014
1 answer
122 views
Hi.

Please could you assist.  My radwindow seems to load the entire page inside the popup (with menu, footer etc) instead of just the controls.  Screenshot and code below.

Any help will be appreciated.

Clientside code: shows popup on image click

var BaseURL = "<%= WindowBaseURL%>";
            function ShowSearchForm() {
                var toolBar = $find("<%=toolbarInstruments.ClientID%>");
                var tbButton = toolBar.findItemByText("exchange");
                var cbo = tbButton.findControl("cboExchange");
                if ('<%=IsMobile%>' == 'True') {
                    var navURL;
                    navURL = BaseURL + "&EX=" + cbo.get_value();
                    //location.href = navURL;
                    window.location.href =  navURL;
                }
                else {
                    //Open the RADWindow
                    var params = document.getElementById('<%=hfParams.ClientID%>').value;
                    var symbolmanager = $find("<%= rwmWatchlist.ClientID %>");
                    var toolBar = $find("<%=toolbarInstruments.ClientID%>");
                    var tbButton = toolBar.findItemByText("exchange");
                    var cbo = tbButton.findControl("cboExchange");
                    var navURL;
                    navurl = BaseURL + '&EX=' + cbo.get_value();
                    symbolmanager.open(navurl , "FindDialog");
                    symbolmanager.SetTitle("Search");
                    return false;
                }
            };

server code: Radwindow declaration
<telerik:RadWindowManager ID="rwmW" runat="server" EnableShadow="true">
        <windows>
            <telerik:RadWindow ID="FindDialog" Title="Instrument Lookup" runat="server" Modal="true"
                ReloadOnShow="True" Overlay="True" KeepInScreenBounds="True" Behaviors="Close,Move,Resize"
                OnClientClose="OnClientClose" ShowContentDuringLoad="false" EnableShadow="false"
                VisibleStatusbar="false" AutoSize="False" VisibleOnPageLoad="False" rendermode="lightweight" width="1042px" EnableEmbeddedSkins="true"/>
        </windows>
    </telerik:RadWindowManager>

Public
ReadOnly Property WindowBaseURL As String
        Get
            If IsMobile Then
                Return String.Format("{0}/mid/{1}?{2}", DotNetNuke.Common.Globals.NavigateURL("Search"), Me.ModuleId, "popUp=false")
            Else
                Return UrlUtils.PopUpUrl(EditUrl("Search"), Me, PortalSettings, False, True)
            End If
        End Get
    End Property

Marin Bratanov
Telerik team
 answered on 21 Jul 2014
1 answer
91 views
Hi,

Is there any way that on the click of button, I get only the modified cell values from the Grid instead of reading the entire grid and sending this huge data across the network to be stored in database.

Thanks
Nisha
Eyup
Telerik team
 answered on 21 Jul 2014
1 answer
153 views
Hi to all,

I would like to use the RadFileExplorer to connect to multiple FTP servers, the goal is to select in a RadDropDownList a previously configured FTP info from a database (FTP Server, Username, UserPassword) and then open the RadFileExplorer in a RadWindow with the selected RadDropDownList  values, and then pass to the server side or to a hidden the selected file path.

It is posible to change the RadFileExplorer values in the codebehind? Do i need to use always a "FtpSettings.config" file?

I have sean this example but as i understand it only use the .config file:
http://www.telerik.com/support/kb/aspnet-ajax/fileexplorer/details/connecting-the-radfileexplorer-to-a-ftp-filesystem

Thanks in advance.
Dobromir
Telerik team
 answered on 21 Jul 2014
3 answers
235 views
hello
i have a radgrid whit a loading panel. it's work.
i have a problem when i make the export excel. when i click the export excel i want that the loading appear but in this way the export not work.
this is my code:

   <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
   <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btnPrevisionExport">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="GridPrevision" LoadingPanelID="RadAjaxLoadingPanel1"/>
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
    </telerik:RadAjaxManager>
    
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Skin="Default" runat="server" >
    </telerik:RadAjaxLoadingPanel>

if i don't put the this code

   <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
   <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btnPrevisionExport">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="GridPrevision" LoadingPanelID="RadAjaxLoadingPanel1"/>
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
    </telerik:RadAjaxManager>

the export work but i haven't the loading on the grid.
Any ideas to make export and have the loading on the grid?
Thanks
   

Sureshkumar
Top achievements
Rank 1
 answered on 21 Jul 2014
1 answer
67 views
Hello there,

im using radeditors to update news content. when i click in the radgrid on some row, it opens a jquery dialog and sets two radeditor using set_html(Preview and Content).

This works perfect in google chrome but not on IE and FF. the html field has the content, but the design field dont and i cant even type on it.

here's the code:
var varTitle = eventArgs.getDataKeyValue("title");
var varInitialDate = eventArgs.getDataKeyValue("initial");
var varEndDate = eventArgs.getDataKeyValue("end");
var varPreview = eventArgs.getDataKeyValue("prev");
var varContent = eventArgs.getDataKeyValue("content");
*** Opens the dialog ***
$find('<%= Title.ClientID%>').set_value(varTitle);
$find('<%= ID.ClientID%>').get_textBox().control.set_value(varInitialDate);
$find('<%= ED.ClientID%>').get_textBox().control.set_value(varEndDate);
$find('<%= Preview.ClientID%>').set_html(varPreview);
$find('<%= Content.ClientID%>').set_html(varContent);

any ideas on what the problem is?

thanks
Ianko
Telerik team
 answered on 21 Jul 2014
1 answer
89 views
Good Morning

I use the property ImagesFolderPath="Images" but in this folder containts images  with format .png . The Gallery not show the images, would you help me or do you exist one solution

Thanks and regards  
Shinu
Top achievements
Rank 2
 answered on 21 Jul 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?