Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
67 views
How do I switch between showing a Listview with pictures to a more grid0like view. It must use JavaScript and/or Ajax not repaint the whole screen.
Andrey
Telerik team
 answered on 31 Jan 2012
1 answer
82 views

Hello,

I am using radgrid in my web appliaction i want to disable the radgrid on certain conditions,so i am using radgrid.enable=false at server side. It is working fine in IE but in mozilla and safari its not disabled its still enabled.

How to make radgrid disabled in mozilla and safari? please help me....

Richard
Top achievements
Rank 1
 answered on 31 Jan 2012
9 answers
176 views
I have following test code and I cannot get the Active Region to work, any help would be highly appreciated

<telerik:RadChart ID="RadChart3" runat="server" Skin="Mac" Width="900" Height="500"
            <Series> 
                <telerik:ChartSeries ActiveRegionUrl="javascript:alert('123')" Name="testSeries" Type="Line" > 
                    <Items> 
                        <telerik:ChartSeriesItem ActiveRegion-Url="javascript:alert('item1')" XValue="1" YValue="12"></telerik:ChartSeriesItem>  
                        <telerik:ChartSeriesItem ActiveRegion-Url="javascript:alert('item2')" XValue="2" YValue="15"></telerik:ChartSeriesItem>  
                        <telerik:ChartSeriesItem ActiveRegion-Url="javascript:alert('item3')" XValue="3" YValue="20"></telerik:ChartSeriesItem>  
                    </Items> 
                </telerik:ChartSeries> 
            </Series> 
            <PlotArea> 
               <XAxis LayoutMode="Inside" AutoScale="false" LabelStep="10" > 
                    <Appearance ValueFormat="Number" MajorGridLines-Visible="false"
                        <LabelAppearance RotationAngle="45" Position-AlignedPosition="Top"
                        </LabelAppearance> 
                    </Appearance> 
                </XAxis> 
                <YAxis IsZeroBased="true"
                </YAxis> 
            </PlotArea> 
    </telerik:RadChart> 
 
Ves
Telerik team
 answered on 31 Jan 2012
3 answers
63 views
Hello,

I have a textbox control in raddock content and click on it to give it the focus. When I click the collapse command button, the content area is hidden (including the textbox) but the blinking caret still visible. Even typing will go into the textbox even though the caret does not move at all.

This is observed only under IE9. In other browsers, the textbox will lose the focus when clicking the collapse button so the above behaviour does not occur.
Slav
Telerik team
 answered on 31 Jan 2012
1 answer
84 views
I have a RadColorPicker (Telerik) inside of a HTML tablecell. The HTML table is within a RadPane that is vertically scrollabe. As soon as the user starts scrolling, the RadColorPicker stays at the same position and is thus 'floating' up and down the screen. I have inserted javascript to stop the colorpalette from floating, thats not the issue.

Any ideas as to how I can make the colorpicker move with the rest of the elements?

The problem happens only on IE 9.0.4.

Thanks
Slav
Telerik team
 answered on 31 Jan 2012
0 answers
136 views
hi i am zaib ali mughal
i have got a error when i reset password
i am getting this error
Exception Details: Nolics.ORMapper.Base.NolnetException: The object belongs already into a different transaction


  pass = Telerik.Security.UserManager.Default.MembershipProvider.ResetPassword(custObj.Username, "no");

i am updating user password through above code and i got this when i click on link which i recieve through email can you help me how can i handle this issue

Thank you
zaib
Top achievements
Rank 1
 asked on 31 Jan 2012
2 answers
285 views
I have a compound element in a Listview(see code) I am trying to change the background of the Panel when I click on the CheckBox. I can't figure out the  JavaScript to do it.

<
telerik:RadListView ID="RadListView1" runat="server" AllowPaging="True" ItemPlaceholderID="PlaceHolder1"
    Skin="listview_2" EnableEmbeddedSkins="false" OnItemCreated="RadListView1_ItemCreated"
    DataKeyNames="id,filenameextension,typeAbbr,title" OnNeedDataSource="RadListView1_NeedDataSource">
    <LayoutTemplate>
        <div class="RadListView RadListViewFloated RadListView_Windows7">
            <telerik:RadDataPager ID="RadDataPager1" runat="server" PageSize="25" PagedControlID="RadListView1"
                BorderWidth="0" OnFieldCreated="RadDataPager1_FieldCreated" CssClass="dataPagerClass">
                <Fields>
                    <telerik:RadDataPagerButtonField FieldType="FirstPrev" />
                    <telerik:RadDataPagerButtonField FieldType="Numeric" PageButtonCount="5" />
                    <telerik:RadDataPagerButtonField FieldType="NextLast" />
                    <telerik:RadDataPagerPageSizeField PageSizeText="Page size: " />
                    <telerik:RadDataPagerGoToPageField CurrentPageText="Page: " TotalPageText="of" SubmitButtonText="Go"
                        TextBoxWidth="15" />
                    <telerik:RadDataPagerTemplatePageField>
                        <PagerTemplate>
                            <b>Total Number of Assets Found:
                                <asp:Label runat="server" ID="TotalItemsLabel" Text="<%# Container.Owner.TotalRowCount%>" />
                            </b>
                        </PagerTemplate>
                    </telerik:RadDataPagerTemplatePageField>
                </Fields>
            </telerik:RadDataPager>
            <asp:PlaceHolder ID="PlaceHolder1" runat="server" />
        </div>
    </LayoutTemplate>
    <ItemTemplate>
        <div style="float: left; width: 162px; height: 200px; background-color: White;">
            <asp:Panel ID="myThumb" runat="server" CssClass="myClass" Style="border: 0; white-space: normal;
                padding: 5px 2px 25px 2px; text-align: center; width: 156px;  background-color: White;">
                <asp:HyperLink ID="HyperLink1" runat="server">
                    <telerik:RadBinaryImage ID="RadBinaryImage1" runat="server" AutoAdjustImageControlSize="False"
                        CssClass="myClass" ImageUrl='<%# Eval("thumbUrl") %>' AlternateText="Click to view preview"
                        ToolTip="Click to view preview" Width="150px" Height="150px" />
                </asp:HyperLink><br />
                <asp:CheckBox ID="ChkImage" runat="server" Style="float: left; padding-top: 5px" /><small><asp:HyperLink ID="lnkAsset1"
                        runat="server" Visible="false" Style="float: left; padding-top: 5px">
                    </asp:HyperLink><asp:HyperLink ID="lnkAsset2" runat="server" Style="float: left;">
                    </asp:HyperLink><asp:HyperLink ID="lnkAsset3" runat="server" Style="float: left;
                        padding-left: 20px"></asp:HyperLink></small><br />
                <asp:HiddenField ID="hiddenAssetId" Value='<%# Eval("id") %>' runat="server" />
            </asp:Panel>
        </div>
    </ItemTemplate>
    <EmptyDataTemplate>
        No Assets Found
    </EmptyDataTemplate>
 </telerik:RadListView>
Tonyz289
Top achievements
Rank 1
 answered on 31 Jan 2012
3 answers
148 views
I have been trying to install the tools developer ajax tools and I have had several issues.  The latest is this.

Telerik.Web.UI.RadToolTipManager with ID='RadToolTipManager1' was unable to find embedded skin with name 'Sunset'. Please, make sure that you spelled the skin name correctly, or if you want to use a custom skin, set EnableEmbeddedSkins=false.

I am guessing this has to do with the tools.  I have installed them but I was still getting messages that the tools were licensed.  Any idea what is going on here?  I haven't changed this code so I am guessing the tools are no longer installed/
Marin Bratanov
Telerik team
 answered on 31 Jan 2012
3 answers
109 views

I have a Radscheduler in a control and I'm using a Radwindow to replace the Delete confirmation. I'm using a window because i needed to save a Note for the reason of deleting. The only problem im having is that i need it to cause a postback on the scheduler to reflect that the Appointment was deleted. I was trying to do it with javascript, here is the code i was using.

On the window i have the following:

on the aspx

function Close() {
var oWindow = GetRadWindow();
oWindow.Close();
//oWindow.BrowserWindow.refreshData(); RadScheduler1
oWindow.BrowserWindow.__doPostBack('ucScheduler1$RadScheduler1', '');
}

on the .cs

protected void btnOK_Click(object sender, EventArgs e)
{
 EAppointment.DeleteAppointment(int.Parse(Request.QueryString["AppID"].ToString()), txtRazon.Text.ToString());
string script = "<script>Close()</" + "script>";
ClientScript.RegisterStartupScript(this.GetType(), "Close", script);
}

Marin Bratanov
Telerik team
 answered on 31 Jan 2012
1 answer
116 views
Hi,
I am using RadXMLHttpPanel control in my applicaiton to implement callback functonality.

RadXMLHttpPanel control is defined in usercontrol as below:

<

 

telerik:RadXmlHttpPanel OnServiceRequest="RadXmlHttpPanel1_ServiceRequest" OnClientResponseEnded ="CallSuccess" OnClientResponseError="CallFailed" runat="server" ID="RadXmlHttpPanel1" EnableClientScriptEvaluation="true">

 

 

<asp:HiddenField ID="hfdShowNotification" runat="server" EnableViewState="false" />

 

</

 

telerik:RadXmlHttpPanel>.

The page in which this usrcontrol is being used has RadAjaxPane defined as below:

 

 

<radA:RadAjaxPanel ID="pnlajax" runat="server">

 

 

 

 

 

<asp:Button ID="btnAjax" runat="server" Text="Ajax" OnClick="btnAjax_Click" />

 

 

 

 

 

</radA:RadAjaxPanel>

RadXmlHttpPanel  works properly if there is no any ajax request but it throws invalid viewstate error when there is ajax request before
RadXmlHttpPanel 's callback request. this happens only for first time after that it works properly.
 following steps  raised this problem:
1) made ajax request (after loading page) by clicking on button defined in RadAjaxpane.
2) Clicked on one button which call set_value() method of RadXmlHttpPanel  panel.

Error details:
Invalid viewstate.
 Client IP: 100.0.0.1
 Port: 3001
 User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; CWADS32; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E)
 ViewState: /wEWddCALx5bYxApSGk6MEAtXckYssscIAoznisYGAvn22fgLAtHShNsPAuKx89IBAtySgKME+dddoas2of+LhBH8VxAspilwM51wms=
 Referer:

Its very urgent for me to resolve this problem, so please look in this as soon as possible.
Thanks

 

Pero
Telerik team
 answered on 31 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?