Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
813 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
184 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
179 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
127 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
98 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
138 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.7K+ 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
174 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
2 answers
183 views

I have an ASP page whose tree control I am try to replace with the Telerik TreeList.  On the page I have buttons to increase or decrease the font size of all the detail items. I am looking to vary the font size from eight to sixteen in steps of one. This means that I would have to read the current font size and then increment or decrement the font size. The changes should be made client side if possible. Can someone get me going in the right direction?

Galin
Telerik team
 answered on 24 Nov 2011
8 answers
145 views
Hi!

We have tried to open all files in the sourcezip and tried to replace all telerik with supersoft to have the namespace supersoft.web.ui
But we allways get error on the telerik.web.apoc that is the DLL that is in the BIN folder.
Why isn't that file included in the sourcezip?

And what are the steps to change the namespace correctly?

Regards Pelle
Sebastian
Telerik team
 answered on 24 Nov 2011
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?