Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
113 views
Hi

I have a grid, and I choose rows in different pages.
I use the function get_selectedItems () in Java Script
but this function returns me only the selected values from this page
How am I supposed to do to get the selected data from all pages
in the server side I see all the selected rows in diferant page

Thanks
Princy
Top achievements
Rank 2
 answered on 16 Nov 2010
1 answer
213 views
if I want to open a RadWindow the window is zero. I should have read the one by the javascript "Page.ClientScript.RegisterStartupScript" embed but that does not work.

what must I do to the window to open with javascript? The call must remain in the method.


RadWindow:
<telerik:RadWindow ID="RadWindowInformation" EnableShadow="true" Behaviors="Close, Move" runat="server">
  <ContentTemplate>
    <div class="window">
      <div class="window_l">
        <div ID="WindowIcon" runat="server"></div>
      </div>
      <div class="window_r">
        <asp:Literal ID="UserMessage" runat="server"></asp:Literal>
      </div>
      <div class="clear window_button">
        <asp:Button ID="Button" runat="server" Text="OK" />
      </div>
    </div>
  </ContentTemplate>
</telerik:RadWindow>

C#-Code:
public void ShowInformation(WebExtensions.PageControlling.InformationObject information)
 {
  StringBuilder radWindowInfoScript = new StringBuilder(); 
   radWindowInfoScript.Append("openWindow();");
   radWindowInfoScript.Append("function openWindow()");
   radWindowInfoScript.Append("{");
   radWindowInfoScript.Append("var oWindow = $find(\"" + RadWindowInformation.ClientID + "\");");
   radWindowInfoScript.Append("oWindow.setSize(400, 400);");
   radWindowInfoScript.Append("oWindow.center();");
   radWindowInfoScript.Append("oWindow.open();");
   radWindowInfoScript.Append("}");
   Page.ClientScript.RegisterStartupScript(this.GetType(), "openWindow", radWindowInfoScript.ToString(), true);

Greetings Dani
Georgi Tunev
Telerik team
 answered on 16 Nov 2010
2 answers
238 views
Hi,

I have a scenario where I have a main form and I load another form from a button on the main form to update something in the database. I then show a popup radwindow from this page to do some additional processing. The radwindow has a save button.

On save I want to close the radwindow and navigate back to the main page instead of going back to the parent window.

So from Page1 I navigate to Page2
show radwindow from Page2
on save on radwindow navigate to Page1 instead of Page2.

Is this possible?
Georgi Tunev
Telerik team
 answered on 16 Nov 2010
0 answers
101 views
G'Day,

I am using the schedular (Q1 2010 SP1) withing a SharePoint 2007 site. It works great, apart from the fact that text is wrapped and not split.

We have tried a number of ways to recolve this, but with no luck, or by causing the schedular to display appointments incorrectly (One appointment overlapping another)

Has anyone any suggestions?

Thanks

Andrew
Andrew Jacks
Top achievements
Rank 1
 asked on 16 Nov 2010
2 answers
81 views

How can i solve this problem?
RadSchedule Header is behind the popmenu.

http://awesomescreenshot.com/0f93jxg1f   <- screenshot

<ul id="nav" >
    <li class="top"><a href="../Schedule/Schedule.aspx" class="top_link"><span>스케쥴관리</span></a></li>
    <li class="top"><a href="#nogo2" id="products" class="top_link"><span class="down">고객관리</span></a>
        <ul class="sub">           
            <li><a href="../Customer/MemberList.aspx">고객명단</a></li>
            <li><a href="#nogo20">메일발송</a></li>
            <li><a href="#nogo21">문자발송</a></li>
        </ul>
    </li>
</ul>

KyoChan
Top achievements
Rank 1
 answered on 16 Nov 2010
1 answer
75 views
Hello,
Is there a way to Show bolded font for newly inserted records?

We can maintain the last ID of the record for every page visit and then any record which are added in the grid will be greater than that last ID
Is there any way to show only these records in BOLD?

Thanks
Princy
Top achievements
Rank 2
 answered on 16 Nov 2010
2 answers
345 views
I have a page with some RadDockZones and RadDocks. I have some buttons which, upon clicking user client and server side manipulation of the docks and zones.  Relatively easily it is possible to get the following error message:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Invalid JSON primitive: {"Top":381,"Left":576,"DockZoneID":"","Collapsed":false,"Pinned":false,"Resizable":true,"Closed":false,"Width":"47%","Height":null,"ExpandedHeight":0,"Index":0}.

I have tried the AjaxManager request start/end fix as suggested in another post:

<

 

asp:Content ID="Content1" ContentPlaceHolderID="Main" runat="server">

 

 

<telerik:RadAjaxManager runat="server" ID="RadAjaxManangerProject" DefaultLoadingPanelID="RadAjaxLoadingPanel1" RequestQueueSize="2">

 

 

<ClientEvents OnRequestStart="RequestStart" OnResponseEnd="ResponseEnd" />

 

 

</telerik:RadAjaxManager>

 

 

<script type="text/javascript">

 

 

var AjaxIsActive = false;

 

 

function RequestStart() {

 

 

if (!AjaxIsActive) {

 

AjaxIsActive =

true;

 

}

 

else {

 

alert(

'Wait for ajax to finish');

 

 

return false;

 

}

}

 

function ResponseEnd() {

 

AjaxIsActive =

false;

 

}

but it doesn't help.

ANy ideas?
Cheers

liju
Top achievements
Rank 1
 answered on 16 Nov 2010
1 answer
73 views
Hello,

I am attempting to place a couple of RadCharts within a RadRotator in order to show one chart at a time and allow the user to scroll between charts. I have pre-built the charts in their own page, and then moved the design of the each chart to an ItemTemplate control within the Items collection of the RadRotator. When I build the project, I get a number of errors related to HtmlGenericControls and unknown server tags.

Below is a snippet that, when compiled, will show you an example of the errors I'm seeing:

    <telerik:RadRotator runat="server" ID="chartRotator" Width="840px" ItemWidth="800px" Height="400px" ItemHeight="400px" RotatorType="AutomaticAdvance" ScrollDirection="Left" ScrollDuration="7000" WrapFrames="true">
        <Items>
            <telerik:RadRotatorItem runat="server" ID="marketShareItem">
                <ItemTemplate>
                    <telerik:RadChart runat="server" ID="marketSharePie" DefaultType="Pie" Width="800px" AutoLayout="true">
                        <Legend Visible="true">
                            <Items>
                                <telerik:LabelItem>
                                </telerik:LabelItem>
                            </Items>
                        </Legend>
                    </telerik:RadChart>
                </ItemTemplate>
            </telerik:RadRotatorItem>
        </Items>
    </telerik:RadRotator>

Am I missing something?

Thanks,
Greg
Greg Harrison
Top achievements
Rank 1
 answered on 15 Nov 2010
2 answers
197 views
Hi.
I need to achieve method to autosize radwindow when content inside radwindow increases. The way im doing as follow below does not work for me. Any one that can help me out?
Using: Version: 2010, 2, 713, 35

This is how im opening radwindow:

GalleryPage.aspx
<telerik:RadWindowManager ID="RadWindowManager1" runat="server"
                                              Skin="Black" Modal="true" EnableShadow="true"
                                              DestroyOnClose="true" AutoSize="true"
                                              VisibleStatusbar="false" ShowContentDuringLoad="false">
</telerik:RadWindowManager>
.......
<asp:LinkButton id="showImageFromThumbnail2" runat="server" OnClientClick='<%# "window.radopen(\"GalleryImage.aspx?id=" + DataBinder.Eval(Container.DataItem,"GalleryId") + "\",\"GalleryWindow\"); return false;" %>'>

GalleryImage.aspx
<script language="javascript" type="text/javascript">
  
   var galleryWin = null;

   function pageLoad() {
          galleryWin = $find("<%= RadWindowManager1.ClientID %>");
   }

    function toggleExpand(clickedLink) {

        $telerik.$('#hiddenContent').toggle();
        //change link's text

        if ($telerik.$(clickedLink).text() == "Show more") {
            $telerik.$(clickedLink).text("Show less").addClass("showLess");
        }
        else {
            $telerik.$(clickedLink).text("Show more").removeClass("showLess");
        }
        //autosize the gallery window
        galleryWin.autoSize(true);
    }
</script>
.......
            <div id="hiddenContent" style="display:none; padding:10px;">
                 <div style="width:100%; background-color:#ff0000;">
                        <h2>Title</h2>
                         <p>info..</p>
                 </div>
            </div>
            <a id="toggleLink" href="javascript:void(0);" class="toggleLink" onclick="toggleExpand(this); return false;">Show more</a>
Mattias Moberg
Top achievements
Rank 1
 answered on 15 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?