Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
295 views
I'm working with the RadWindow, and all is OK - except, on the close of the RadWindow;

If an unrelated button is clicked on the same web page, the RadWindow re-appears as a popup;

I'm writing to ask if the RadWindow can be disposed of - after intended utilization;

The DestroyOnClose, and Dispose, methods did not resolve the issue of the popup window re-appearing after intened use;
//Set its properties
               rw1.Width = Unit.Pixel(400);
               rw1.Height = Unit.Pixel(400);
               //rw1.NavigateUrl = "http://www.google.com";
               rw1.NavigateUrl = "PopupFileUpload.aspx";
               //Make sure that the window will be shown after the postback
               rw1.VisibleOnPageLoad = true;
               //Add it to the RadWindowManager's Windows collection
               RadWindowManager1.Windows.Add(rw1);

<telerik:RadWindowManager ID="RadWindowManager1" runat="server">
             <Windows> 
                 <telerik:RadWindow ID="Window1" runat="server" NavigateUrl="PopupFileUpload.aspx"/> 
             </Windows> 
         </telerik:RadWindowManager>
Princy
Top achievements
Rank 2
 answered on 14 Oct 2011
1 answer
258 views
Hi,
I have two problems with exporting to PDF from RadEditor.
My html code is:
<div style="font-size: 10pt; line-height: 1.2; font-family: calibri; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; text-align: justify;">
<p style="text-align: right;">2011</p>
<br />
<h1 style="font-size: 14pt; font-weight: bold; text-align: center;">LOREM IPSUM</h1>
<span style="position: relative; bottom: -5px;">LOREM:</span>
<ul style="margin-top: 0px; padding-top: 0px; padding-left: 15px;">
    <li style="margin-top: 0px; padding-top: 0px;">cccccccccccccccccc vvvvvvvvvvvvvv</li>
    <li><span style="line-height: 15px; font-family: calibri; font-size: 13px;">cccccccccccccccccc vvvvvvvvvvvvvv</span></li>
    <li><span style="line-height: 15px; font-family: calibri; font-size: 13px;">cccccccccccccccccc vvvvvvvvvvvvvv</span></li>
</ul>
<p style="font-size: 8pt; font-weight: bold; text-align: center;">Pouczenie:</p>
<ol style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-left: 15px; font-size: 8pt; list-style-type: decimal;">
    <li>LOREM IPSUM</li>
    <li><span style="line-height: 12px; font-family: calibri; font-size: 11px;">LOREM IPSUM</span>:
    <ol style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-left: 15px; font-size: 8pt; list-style-type: decimal;">
        <li><span style="line-height: 12px; font-family: calibri; font-size: 11px;">LOREM IPSUM</span></li>
        <li><span style="line-height: 12px; font-family: calibri; font-size: 11px;">LOREM IPSUM</span></li>
        <li><span style="line-height: 12px; font-family: calibri; font-size: 11px;">LOREM IPSUM</span></li>
    </ol>
    </li>
    <li><span style="line-height: 12px; font-family: calibri; font-size: 11px;">LOREM IPSUM</span></li>
    <li><span style="line-height: 12px; font-family: calibri; font-size: 11px;">LOREM IPSUM</span></li>
</ol>
</div>
I pasted it to your demo sample: http://demos.telerik.com/aspnet-ajax/editor/examples/pdfexport/defaultcs.aspx
After exporting:
- there is a big space at the top
- bottom list left numbers (they are letters (a,b and c).
Screen - http://imageshack.us/photo/my-images/840/przechwytywaniek.png/
I have Telerik in version: 2010.1.519.35.
How to fix this?
Thanks in advance.
Rumen
Telerik team
 answered on 14 Oct 2011
1 answer
147 views
Hello, i try using AsyncUploadHandler, on local machine its working well, 
but on remote IIS, i got error /Handler.ashx?type=rau 500 (Internal Server Error)
    _message:  NotFound."
but with same parametrs on local machine working, if some one get problems like this, help me please.
thanks
Princy
Top achievements
Rank 2
 answered on 14 Oct 2011
3 answers
99 views
Hi Telerik,

This feature doesn't seem to exist implicitly, but I was wondering if there was a way to achieve this? I really like the feel of live resize and I was hoping to apply it to a RadSlidingPane inside of a click-to-open RadSlidingZone. Is this possible?

Thanks

Sean
Niko
Telerik team
 answered on 14 Oct 2011
5 answers
279 views
I'm trying to plot a series of data on a telerik:RadChart! the chart has 30 items with a data value range from 0 to 30. This works great as in image 1. What I'm trying to achieve is to be able to set the X and Y axis labels in ranges as in image 2, when i try and do this not all the charts are plotted in the plot area of the chart. What I'm trying to achieve is something like image 3 is this possible?
Evgenia
Telerik team
 answered on 14 Oct 2011
4 answers
407 views

How do i bind the concatenated texts of all checked item of the RadComboBox to a field in the SQLDatasource using the selectedvalue property? Am using the ASP.NET AJAX RadControls Q2 2011. 

An example would be very welcome.

Princy
Top achievements
Rank 2
 answered on 14 Oct 2011
0 answers
164 views
Hello,
I have a RadTreeView With a selected node in it ( previously saved)
i want to add code to find the selected node and fire the (OnNodeClick) event for it as if i clicked it by mouse.
Thanks.
Rabih
Top achievements
Rank 1
 asked on 14 Oct 2011
1 answer
144 views
Hi,
is there anyway or documentation to shows me how to set security trim on RADSchedule.
I have a requirement where only admin can update,delete and create new appointment,
Contract Staff can only view
Permanent staff can view, create and delete their own appointment.

can someone point me to any website/document so i can learn how to do this.

thanks.

Regards,
CH
Stuart Hemming
Top achievements
Rank 2
 answered on 14 Oct 2011
1 answer
84 views
Hi,
I have this scenario
an aspx page with masterpage. The masterpage has a combobox control, as that value changes an event is raised.
I catch it this way
   Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
       AddHandler Master.supplierChanged, AddressOf onSupplierChanged
   End Sub
 
Protected Sub onSupplierChanged()
       RadGridNMBacheche.Rebind()
   End Sub

and then on needdatasource fill the datasource with businness object
Protected Sub RadGridNMBacheche_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RadGridNMBacheche.NeedDataSource
        Try
 
            Dim NM As New NewsManager.CNewsForMyself(myConn)
            Dim myDataset As DataSet = NM.getNewsForMyself_asDataset(OrderMode)
 
            RadGridNMBacheche.DataSource = myDataset
        
        Catch ex As Exception
            Call LogManager.WriteToErrorLog(errorPath, ClassName, System.Reflection.MethodBase.GetCurrentMethod.Name.ToString(), ex, Err())
        End Try
    End Sub


So, as combobox value changes my grid changes as well (myconn changes), unless mydataset (the datasource) is nothing,
in this case grid does not refresh and still shows old records. ajax or not ajax is the same.
Tsvetoslav
Telerik team
 answered on 14 Oct 2011
0 answers
156 views
Hi,

I am using rad combobox and i want to do that when any <HTML> tag insert in combobox after that user go to click GO button than it should become HTML. I am able to do it on simple asp text box but not able to do it on combobox.

Code example:

On TextBox :
  <script type="text/javascript">
        //remove space from log text box
function RemoveSpecialSymbols(id) {
            var objid = document.getElementById(id);
            if (objid)
                objid.value = html2entities(objid.value);
        }

        function html2entities(sometext) {
            var re = /[<>]/g
            //    if (sometext.length > 2500)
            //        sometext = sometext.substr(0, 2500);
            return sometext.replace(re, function (m) { return replacechar(m) })
        }

        function replacechar(match) {
            if (match == "<")
                return ""
            else if (match == ">")
                return ""
        }
  </script>
<asp:TextBox ID="txtEmail" runat="server" TabIndex="1" MaxLength="50" SkinID="RequiredTextBox" onkeydown="javascript:if (event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) {RemoveSpecialSymbols(this.id);}};" onblur="RemoveSpecialSymbols(this.id);" ></asp:TextBox>

Same thing i want to do it on RadCombobox....

     <telerik:RadComboBox ID="RCBSearch" runat="server" Width="250px" Height="150px" Text=""
                    ShowToggleImage="false" EmptyMessage="Search by tags, products, business name"
                    EnableLoadOnDemand="true" ShowMoreResultsBox="true" Style="float: left; margin: 0;
                    padding: 0;" EnableVirtualScrolling="true" ShowDropDownOnTextboxClick="false"
                    onkeydown="PressKeyForProfile(this, event)">
                    <WebServiceSettings Method="GetCompanyNames" Path="wsSellWithMe.asmx" />
                </telerik:RadComboBox>

But it is sowing some kind of javascript error...

"Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500"

Thanks
Manish
Manish
Top achievements
Rank 2
 asked on 14 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?