Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
322 views
RadWindow issue

I have a page with consists of two columns. In the right column I want to display a pdf when an image in a grid is clicked in the left column.

The problem is even though I use OffsetElementID="divDisplayPDFDocument" ...its not displaying the PDF Document underneath the div I created under the 2nd column.

It always show the pdf document at the top left corner of the page.

If I set it using SetOffSetElementById in the client side function it works the 1st time I click the image but the 2nd time again it shows the pdf at the top left corner of the page
function  ShowPDFDocument(title, url) {
 var oWnd = $find("<%= PDFDocument.ClientID %>");
 oWnd.set_title(title);
 oWnd.setUrl(url);
 oWnd.SetOffsetElementId('divDisplayPDFDocument');
 oWnd.show();
}

Please advice!!

Thanks in advance

Marin Bratanov
Telerik team
 answered on 13 Dec 2012
4 answers
316 views
I want to add my list box in first column and buttons in second column.current configuration allows buttons to be aligned at top, bottom, center position vertically, and horizontally Left, Right, Center. I want to display Listbox and buttons in one after another.( button will be in horizontal position) please go through attached image.
Prasad
Top achievements
Rank 1
 answered on 13 Dec 2012
0 answers
141 views
hello friends,

    I'm Using telerik control in my asp.net forum but each and every time when save changes in aspx page its automatically
 
generate  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   what is the solution for it? please any budy have idea i'm tired for this error
Coolbudy
Top achievements
Rank 1
 asked on 13 Dec 2012
1 answer
214 views
I have a Dot Net 4.0 web app with quite a few of those <% %> tags scattered throughout the scripts of various pages.  Most pages have at least a little JavaScript, mostly routine stuff like custom validator handlers for dropdowns.  

Today I got an exception: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)

This was fixed by placing the script block on that page in a RadCodeBlock.

I've been looking at this documentation: http://www.telerik.com/help/aspnet-ajax/ajax-radscriptblock-radcodeblock.html.

It occurs to me that this RadCodeBlock is only the second one I've added to the entire project.  I've not had problems with other pages.

In general would you say that it's good coding practice to routinely enclose all JavaScript blocks in RadCodeBlocks?
Maria Ilieva
Telerik team
 answered on 13 Dec 2012
1 answer
100 views
Attached is an example of what it is doing.
Danail Vasilev
Telerik team
 answered on 13 Dec 2012
1 answer
131 views
hii,
how to add  close icon to  a tab to delete the tab?
Princy
Top achievements
Rank 2
 answered on 13 Dec 2012
1 answer
131 views
I have problem with RadDatePicker inside composite control. My composite control looks like this:
...
        protected override void CreateChildControls()
        {
            this.Controls.Clear();
            this.Calendar = new RadDatePicker
            {
              ID = "Calendar",
                Width = new Unit(100, UnitType.Percentage)

            };
            this.Controls.Add(this.Calendar);
        }

        protected override void Render(HtmlTextWriter writer)
        {
            this.AddAttributesToRender(writer);
            writer.RenderBeginTag(HtmlTextWriterTag.Div);
            this.Calendar.RenderControl(writer);
            writer.RenderEndTag();
        }
...
When I launch the project, the callendar appers on the page. The problem is that firebug logs error, and after click on the calendar's button nothing happens. The error:

TypeError: a is undefined
...alizer._serverTypeFieldName&&f!==0){d[f++]=d[0];d[0]=e}else d[f++]=e}if(i)d.sort...
Teleri...cacbc31

Maria Ilieva
Telerik team
 answered on 13 Dec 2012
1 answer
132 views
how to prevent the user from changing the slider value?

thanks
Shinu
Top achievements
Rank 2
 answered on 13 Dec 2012
3 answers
95 views
Hi,

I have a multiple ToolsFile.xml to use. I would like to decide dynamically by some condition which one to use for actually rendered page. Let's say I would like to do this decision in Site.master. Is there any possibility to do it?

Thanks,
Juraj
Rumen
Telerik team
 answered on 13 Dec 2012
1 answer
173 views
how to decrease the height of radtoolbar?

thanks
Princy
Top achievements
Rank 2
 answered on 13 Dec 2012
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?