Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
123 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
92 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
128 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
146 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
156 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
130 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
3 answers
168 views
I have a grid that has a hidden column (the Id) 

 

<telerik:GridBoundColumn DataField="Id" Display="False" Visible="false" 
           FilterControlAltText="Filter column column" UniqueName="column" >
       </telerik:GridBoundColumn>

This works fine for the grid, however when I edit or add a new record (in a popup) the Id shows up.  I can set ReadOnly="true"  which works fine for inserting a new record, this however does not work for editing an existing record.  When ReadOnly is set to true I am unable to get the Id of the record for an update. 

What am I missing here?

Thanks
Antonio Stoilkov
Telerik team
 answered on 24 Nov 2011
8 answers
321 views
Hi,

I am using RadEditor inside RadDock. In my application (Sharepoint webparts) the radDocks are dynamically created using an hidden updatepanel. In each raddock I have an UpdatePanel in order to update dynamically its content.

The first time I open a raddock with an editor inside, the editor is not editable in chrome, internet explorer and firefox. The tools are not rendered  in internet explorer. If I refresh the page with full postback, the editor starts to work correctly in all browsers.

I tried to place an hidden radeditor  (style="display: none") in my page in order to load javascript files the first time page is rendered but it does not solved my problem.

Any ideas?



Michael Pinheiro
Rumen
Telerik team
 answered on 24 Nov 2011
1 answer
139 views
Hi,
 
I am trying to open a new radtab on every Search button click. So basically the home page,
opens in a tab which shows a textbox & search button. Then Everytime a user clicks on Search button I need to grab the search result & display in a  grid in a new tab. (so if search is clicked 3 times.. there will be 3 additional tabs). How can I achive this functionality?

I was able to create a new tab for each click on button ("search"). The tab opens fine but the grid doesnt display. Not sure where I am going wrong. Can somebody please throw some light if there is any example scenario will be highly appreciated.

During the debug I can see the result set is passsed to the new tab without any issue.

Thank you
Dimitar Terziev
Telerik team
 answered on 24 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
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?