Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
170 views
Hi everyone.

I've got a strange problem with the filter.

I've added EnableEmbeddedSkins = false for the filter so that I can use a custom skin.

However when I try to use the filter it fails with the following error.

Telerik.Web.UI.RadNumericTextBox with ID='ctl03' was unable to find embedded skin with name 'SkinName'. Please, make sure that you spelled the skin name correctly, or if you want to use a custom skin, set EnableEmbeddedSkins=false.

How do I disable embedded skins for the controls within the radfilter ? I'm using 2010 Q1 at the moment.

thanks

Vincent
chrisL
Top achievements
Rank 1
 answered on 25 Nov 2011
14 answers
516 views
Hello,

When setting the new CheckBoxes property to true on the RadComboBox, is it possible to customize the displayed text when items are checked?

Assume the following RadComboBox:
<telerik:RadComboBox ID="rcbBlah" runat="server" CheckBoxes="true" Width="600px"
    OnClientItemChecked="OnClientItemChecked" ChangeTextOnKeyBoardNavigation="false" >
    <Items>
        <telerik:RadComboBoxItem Text="All" Value="-2" />
        <telerik:RadComboBoxItem Text="Not Specified" Value="-1" Checked="true" />
        <telerik:RadComboBoxItem Text="Apple" Value="1" />
        <telerik:RadComboBoxItem Text="Carrot" Value="2" />
        <telerik:RadComboBoxItem Text="Peach" Value="3" />
        <telerik:RadComboBoxItem Text="Pear" Value="4" />
        <telerik:RadComboBoxItem Text="Tomato" Value="5" />
        <telerik:RadComboBoxItem Text="Zucchini" Value="6" />
    </Items>
</telerik:RadComboBox>

If the user selects Carrot and Tomato, our business users would prefer that the Text displayed be "Carrot,Tomato", not "Carrot, Tomato".  Similarly, a business rule is that if we check the "All" item, we wrote JavaScript to check all of the items automatically.  In this scenario, they want the Text displayed to be "All", not "Apple, Carrot, Peach, Pear, Tomato, Zucchini".

I tried catching the OnClientItemChecked event and doing the following, but that didn't do anything.  It appears that the text property is readonly when checkboxes are utilized.
function OnClientItemChecked(radComboBox, eventArgs) {
    radComboBox.set_text('custom text for testing');
}

PS: Setting AllowCustomText doesn't work.

Thanks!!
Thad
Kalina
Telerik team
 answered on 24 Nov 2011
7 answers
775 views
Hi

I am using the following code for multi select drop down list. I want to set default value when page gets loads.

<telerik:RadComboBox runat="server" ID="RadComboBoxProvider" AllowCustomText="true"
                            Text="Select" >
                            <ItemTemplate>
                                <asp:CheckBox runat="server" ID="cbProvider" AutoPostBack="true" Text='<%#Eval("First_Name")%>' />
                            </ItemTemplate>
                        </telerik:RadComboBox>
Kalina
Telerik team
 answered on 24 Nov 2011
1 answer
141 views

Hi guys,

This might sound like a silly question, but I'd like have an area inside the Notification window
that is only going to use a specific area as it will align with a background image. The background
image will be like a notepad and all the content and control will appear inside it, if that makes any
sense... Cheers!!


<

 

telerik:RadNotification runat="server" ID="radNotificationPopup" VisibleOnPageLoad="true"

Width="340px" Height="420px" EnableRoundedCorners="true" BackColor="#FFFFFF" ForeColor="#FFFFFF" Skin="Windows7"

OnCallbackUpdate="radNotificationPopup_CallbackUpdate" LoadContentOn="PageLoad" BorderWidth="0px" VisibleTitlebar="true"

Position="Center" Animation="Fade" EnableShadow="false" Title="don't forget to..." ShowTitleMenu="false"

OffsetX="0" AutoCloseDelay="0" ContentIcon="">

<

 

NotificationMenu ID="TitleMenu"></NotificationMenu>

<ContentTemplate>

<div style="margin: 0px 0px 0px 0px; border: 0px 0px 0px 0px; background-color: #FFFFFF;">

<asp:HyperLink ID="lnkToDo" NavigateUrl="Events.aspx" runat="server" Text="don't forget to...">

<div class="userImg">

<img id="img" src="../Images/todolist.png" alt="don't forget to..." />

</div>

</asp:HyperLink>

</div>

</ContentTemplate>

</telerik:RadNotification>

Kevin
Top achievements
Rank 2
 answered on 24 Nov 2011
3 answers
147 views
Hi.

I have two dropdowns in the edit form of a grid which are populated using an objectdatasource.
I have a radupload control in the grid as well.

My second combo is dependent on the selectyion in the first combo and in the selectedindexchanged event i was putting the value in a session variable and the object datasource for the second combo was using the session parameter.

The issue I had was that the validation on the radupload was getting fired on the postback and the code never reached the delectedindexchanged event. I want to disable the autopostback property of the first combo and somehow populate the second combo using javascript so that the validation event for the radupload fires at the correct time.

I am having trouble populating the second combo using javascript. I populated a hidden variable with the sleected value and did a requestItems() for secondcombo in the clientselectedindexchanged event but that does not help.

Please help.
MBEN
Top achievements
Rank 2
Veteran
 answered on 24 Nov 2011
3 answers
105 views
Hi,
Is there anyway to bind OnDateSelected  event on clientside

i tried the following code on the javascript but not able to bind event
var dtp=$find('<%=dtp%>');
 
dtp.OnDateSelected = this.dtpFrom_DateSelected;

Is anyone knows how to fix this.

thanks.

kazim
Kevin
Top achievements
Rank 2
 answered on 24 Nov 2011
0 answers
79 views
I'm assuming this is normal behaviour but I'm wondering if there's a way around it ...

I have a grid where a window containing a form opens on insert (pretty much like the demos). The form itself also contains a couple of link buttons which open windows for further editing. However, these windows only open INSIDE the parent window. Is there a way to make them display OVER the window, so that they can be moved to anywhere on the screen?


Edit: Never mind. I read the docs and found the answer.
David
Top achievements
Rank 1
 asked on 24 Nov 2011
1 answer
113 views
Hi, I've a problem with the visibility of items of a RadCombobox in a grid insert in a Notification.
When I press click on RadComboBox I see only items that exit from Notification (Attach File).

This is my Notification
<telerik:RadNotification ID="RadNotification1" runat="server" ContentIcon="../../Images/Notification/check_48.png"
        Position="Center" AutoCloseDelay="15000" Width="600" Height="250px" Pinned="true"
        EnableRoundedCorners="true" EnableShadow="true" KeepOnMouseOver="true" VisibleTitlebar="true"
        ShowCloseButton="true" Animation="Fade" AnimationDuration="200" Skin="Web20"
        TitleIcon="../../Images/Notification/check_16.png">
        <ContentTemplate>
            <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="false" OnItemDataBound="gvDesignazione_ItemDataBound">
                <MasterTableView>
                    <Columns>
                        <telerik:GridTemplateColumn>
                            <ItemTemplate>
                                <%# Eval("INFOBASE")%>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn>
                            <ItemTemplate>
                                <telerik:RadComboBox ID="ddlDesignazione" runat="server" Skin="Office2010Blue" Width="180px"
                                    ZIndex="1000">
                                </telerik:RadComboBox>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>
        </ContentTemplate>
    </telerik:RadNotification>

Marin Bratanov
Telerik team
 answered on 24 Nov 2011
1 answer
1.6K+ views
Hi,

I want to show PDF file Iframe into Radwindow. if file folder should be website means it is working file. like (/PDFfile/13.pdf). but i have folder outside the webiste but same server. it is name like blobdir. so if i show the pdf iframe means i want to get full src.

i used another method like,

Dim strFilePath As String = strPath & Report_file_name.Value
                If File.Exists(strFilePath) Then
                    _FileName = Report_file_name.Value
                    fs = File.Open(strFilePath, FileMode.Open)
                Else
                    _FileName = Server.MapPath("EmptyFile.txt")
                    fs = File.Open(strFilePath, FileMode.Open, FileAccess.Read)
                End If
                Dim bytBytes(fs.Length) As Byte
                fs.Read(bytBytes, 0, fs.Length)
                fs.Close()
                fs.Dispose()
                Page.Response.BinaryWrite(bytBytes)
                Page.Response.Flush()
                Page.Response.End()

but is downloaded from server. and asking save, cancel.

i want to display into iframe from server folder,

i am using the code like
  iframe1.Attributes.Add("src", "//patrick//blob_dir//1033322RISK_ACKNOWLEDGEMENT.PDF")

how to get full path for this folder,

Please give me a tips for this one..

Thanks in Advance,
Dhamu.
Have a nice day....
Marin Bratanov
Telerik team
 answered on 24 Nov 2011
6 answers
125 views
I just upgraded to the newest RadControls for AJAX release (2011.1.413.40) and I'm having a strange issue with the RadGrid that I'm hoping can be solved with a simple fix...  Basically what I'm seeing is the grid has extra space on the right side, after the scrollbar.  No matter how I adjust the width of the grid, mastertable or columns, the extra space remains.  Also, when the grid loads the scrollbar is properly placed below the titlebar (I have UseStatisHeaders enabled), but when the mouse enters the grid area the scrollbar pops to the outer area, where this extra space is. 

See the screenshots for an example:
  • grid_current is what's in production now with last version of RadControls;
  • grid_before is what it looks like now, before moving mouse into grid area;
  • grid_after is same thing after moving mouse into grid area.

This is only happening on one page, with one grid, but it's a very large application, and this particular page is one of the most complex, so it's difficult to reproduce.  I'm also formatting data for many of the columns in the ItemDataBound event.  I'm also dong some client-side things to change styles, control row-click events, etc based on user preferences.  I'm sure any of these things could be causing this behavior, but am unsure which.  Before I spend a day or two building a sample app, I thought I'd check and see if anyone has seen this and could point me to check some setting that commonly causes this?

By the way, this doesn't happen with the last version of Telerik RadControls I used for this application (2010.3.1317.40), only with the new version.  I could potentially revert back to the previous version, but I've had other issues with the current version, so would prefer to upgrade for the fixes.

Thanks for the help!
Eddie
Pavlina
Telerik team
 answered on 24 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?