Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
126 views
Ive been unable to add an Image to a Group Header Template. 
Is there a restriction to the content added to that template ?
Princy
Top achievements
Rank 2
 answered on 14 Mar 2012
2 answers
199 views
Hi,

I just downloaded both Telerik.Web.UI_2011_2_915_Dev.msi and Telerik.Web.UI_2012_1_215_Dev.msi. So that I can upgrade my current Telerik.Web.UI current version (2008.2.1001.35). But I can't seem to install either of them. I am getting the Windows Installer error "This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package."

Other info
- OS: Windows XP SP3
- Just upgraded my ASP.NET project from VS2008 (.NET 3.5) to VS2010 (.NET 4.0)
- The current project is also now a hybrid ASP.NET Web Forms and ASP.NET MVC 3. That's why I need to get the new version because I am getting some weird "microsoft jscript runtime error object doesn't support this property or method" error and hoping that upgrade in the control might fix my problem, which did not exists in VS2008.

Can you please help?

Regards,
Midas
Midas
Top achievements
Rank 1
 answered on 14 Mar 2012
6 answers
307 views
I have been battling a problem recently with RadAjaxManager.

I have a RadButton that opens a RadWindow using AJAX (calls a postback that set's VisibleOnPageLoad=true). But any button in the window that was open won't make it's postback through ajax. Instead it makes the request through a normal postback. If I set the RadButton to do a normal postback (not setup an ajaxsetting for it) then the buttons in the RadWindow work.

Any ideas on what I am doing wrong? I have tried searching the form and google to find a solutions and can't find anyone else that is having the same problem.

I have included the parts of code that are related to the problem (i hope)... thanks in advance.

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default" IsSticky="true" style="position:absolute; top:0; left:0; height:100; width;">
    </telerik:RadAjaxLoadingPanel>
    <telerik:RadAjaxManager ID="AjaxManager" runat="server" 
        DefaultLoadingPanelID="RadAjaxLoadingPanel1">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="btnAddTeachingActivity">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="windowExistingActivity"
                        LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="radioExisitingActivity">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="windowExistingActivity" />
                    <telerik:AjaxUpdatedControl ControlID="windowAddTeachingActivity" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
     
    </telerik:RadAjaxManager>
 
<telerik:RadButton ID="btnAddTeachingActivity" runat="server" Text="Add Teaching Activity" OnClick="btnAddTeachingActivity_Click">
            <Icon PrimaryIconUrl="template/Icons/add.png" />
        </telerik:RadButton>
 
 
<telerik:RadWindow ID="windowExistingActivity"  runat="server" IconUrl="template/icons/add.png" Title="Add New Teaching Activity" Behaviors="Close, Move" Modal="true" VisibleStatusbar="false" AutoSize="false" Width="500px" Height="200px" >
        <ContentTemplate>
            <div class="roundGrayBox" style="width: 435px; margin-left: 10px; margin-right: 10px; margin-top: 15px;">
                <asp:Panel ID="pnlExisitingActivityQuestion" runat="server">
                    <h2>Have you entered this teaching activity into the system previously?</h2>
                    <asp:RadioButtonList ID="radioExisitingActivity" runat="server" AutoPostBack="true" OnSelectedIndexChanged="radioExisitingActivity_SelectedIndexChanged">
                        <asp:ListItem Text="Yes" />
                        <asp:ListItem Text="No" />
                    </asp:RadioButtonList>             
                </asp:Panel>
 
                <asp:Panel ID="pnlExisitingActivitySelection" runat="server" Visible="false">
                    <h2>Select Exisiting Activity</h2>
                    <table width="100%">
                        <tr>
                            <td>Academic Year:</td>
                            <td>
                                <telerik:RadComboBox ID="ddlExisitingActivityYear" runat="server" Width="150px">
                                </telerik:RadComboBox>
                            </td>
                        </tr>
                        <tr>
                            <td>Activitiy:</td>
                            <td>
                                <telerik:RadComboBox ID="ddlExisitingActivities" runat="server" Width="100%">
                                </telerik:RadComboBox>
                            </td>
                        </tr>
                    </table>
                    <telerik:RadButton ID="btnExisitingActivity" runat="server" Text="Start With Exisiting Activity" />
                </asp:Panel>
            </div>
        </ContentTemplate>
    </telerik:RadWindow>

protected void btnAddTeachingActivity_Click(object sender, EventArgs e)
        {
            windowExistingActivity.VisibleOnPageLoad = true;
        }
  
protected void radioExisitingActivity_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (radioExisitingActivity.SelectedValue == "Yes")
            {
                windowExistingActivity.VisibleOnPageLoad = true;
                pnlExisitingActivitySelection.Visible = true;
                pnlExisitingActivityQuestion.Visible = false;
            }
            else
            {
                hiddenTeachingActivityId.Value = "";
                windowAddTeachingActivity.Title = "Add Teaching Activity";
                windowAddTeachingActivity.IconUrl = "template/icons/add.png";
                windowAddTeachingActivity.VisibleOnPageLoad = true;
  
                txtContactHours.Value = null;
                txtNumberOfLeaners.Value = null;
                txtTitle.Text = "";
                ddlAcademicYear.SelectedIndex = 0;
                ddlLearners.ClearSelection();
                ddlLocation.SelectedIndex = 0;
                ddlSemester.SelectedIndex = 0;
                ddlStrategy.SelectedIndex = 0;
            }
Merritt
Top achievements
Rank 1
 answered on 14 Mar 2012
4 answers
173 views
Hi,

This should be a relatively quick question to answer.

We want to disable the image map editor from everything within the rad editor.
I've already removed it from the context menu of an image within the rad editor by modifying the Tools of the RadEditors ContextMenus so that only the Properties option shows up.
But I want to ensure that an image map cannot be made anywhere else.

Thanks,
Cameron
Cameron
Top achievements
Rank 1
 answered on 13 Mar 2012
3 answers
99 views
Hello,

We've been having an issue where users are seeing the upload button within the Upload Dialog of the Image Manager Dialog appears as text with a dashed border around it. I do not know if the button is disabled or not or even if it is functional as a button.

However it is appearing as not a button.

Any ideas on why this may be happening?

Thanks,
Cameron

PS. We are using the 2011.3.1305.40 version of the controls.
Cameron
Top achievements
Rank 1
 answered on 13 Mar 2012
3 answers
300 views
I am able to use this method in asp.net grids but am switching over  to radgrids in new projects.  What happens is that when I click on it it should just open the email, but with the radgird it also wants to try to navigate to the email to as well.  How can I just use it as a way to open the ema
<telerik:RadGrid ID="myRadGrid" runat="server" Width="95%" BorderWidth="1px" CellPadding="6" GridLines="None" BorderColor="#404040" Skin="Web20" ShowFooter="true">
                                <MasterTableView AutoGenerateColumns="false" DataKeyNames="intIssuedID" HierarchyDefaultExpanded="false" HierarchyLoadMode="ServerBind" Name="MasterGrid" 
                                BorderColor="#404040" Font-Size="10" Font-Names="Veranda,arial,sans-serif" HeaderStyle-HorizontalAlign="Center" GridLines="Both" BorderWidth="1px"><ItemStyle HorizontalAlign="Center" />
                                    <AlternatingItemStyle BackColor="#B0C4DE"  HorizontalAlign="Center" /><HeaderStyle ForeColor="White" Font-Bold="true" BorderColor="#404040" BorderWidth="1px" />
                                        <Columns>
                                            <telerik:GridBoundColumn DataField="strAssetNum" HeaderText="ASSET TAG #" />
                                            <telerik:GridBoundColumn DataField="Equip" HeaderText="EQUIPMENT" />
                                            <telerik:GridBoundColumn DataField="dt_Issued" HeaderText="DT_ISSUED" />
                                            <telerik:GridBoundColumn DataField="strLocation" HeaderText="LOCATION" />
                                            <telerik:GridTemplateColumn HeaderText="ISSUED TO">
                                                <ItemTemplate>
                                                     <asp:HyperLink NavigateUrl='<%# Bind("strEmail", "mailto:{0}") %>' Text='<%# Bind("IssuedTo") %>' runat="server" ID="hlEmail"></asp:HyperLink>
                                                </ItemTemplate>
                                            </telerik:GridTemplateColumn>
                                            <telerik:GridBoundColumn DataField="ftQTY" HeaderText="QTY" />
                                        </Columns>
                                </MasterTableView>
                            </telerik:RadGrid>
il of your computer.
Jayesh Goyani
Top achievements
Rank 2
 answered on 13 Mar 2012
3 answers
117 views

I have a RadGrid that I have over a million records on. Currently I use a select * to display everything in the grid, so people can click next, put in a search in the filter, etc.It otherwise works perfect for me.

Under heavy load, I was wondering if there is a more efficient way to use the RadGrid, so instead of doing a select * for all the records, I can select 20 records, but still have the filters on top and the search capacity to search all million records if someone does it at the top. 

Thanks!

Pavlina
Telerik team
 answered on 13 Mar 2012
2 answers
144 views
Hi,

I have a solution that adds tabs and page views dynamically, then based on postback criteria may potentially remove those tabs and add new ones.

The sequence is:
- First Render:
    - Build Tab with PageViewID set
    - Build PageView using known PageViewID
    - Add control to PageView
    - Add PageView to MultiPageView
- Postback (no changes of tab):
    - Find PageView and Add Control
(all working fine so far no matter how many postbacks)
- Postback (changes to tabs):
    - Find PageView
    - Find Tab
    - Remove Tab
    - Remove PageView
    - Perform sequence as per First Render except with different Tab and PageView

Then during this postback there is some code changing tab selection. This code sets  this.{Tab}.Selected = true;
An exception is thrown at this point from the Telerik libraries. 

System.NullReferenceException occurred
  Message=Object reference not set to an instance of an object.
  Source=Telerik.Web.UI
  StackTrace:
       at Telerik.Web.UI.ControlItem.get_Index()
       at Telerik.Web.UI.RadTab.set_Selected(Boolean value)

I have tried when adding +/ removing to change the SelectIndex of the RadTabStrip. I have tried selecting another (known to exist) tab. some general stuff like:

if

(tabStrip.Tabs.Count > 1)

{

    tabStrip.Tabs[0].Selected = true;

    tabStrip.Tabs[0].PageView.Selected = true;

}


Nothing I have tried is preventing this exception. I have not seen any demo or example of adding then removing + adding during page life cycles.

The other question I have is why do the RadTabStrip and MultiPageView recreate the dynamic tabs. This is not like normal ASP.NET controls which you must recreate every postback in the same order. Is there a way to prevent automatic recreation of tabs?

Thanks.

Dimitar Terziev
Telerik team
 answered on 13 Mar 2012
10 answers
337 views
I found an exmaple here How print Radgrid, but only print current page.
I need print whole RadGrid.
how I can you this?

thanks
Pavlina
Telerik team
 answered on 13 Mar 2012
2 answers
75 views
Hi,I am a beginner and i would like to create a slidershow by using a RedControl,can any body help me please !
Berrabah
Top achievements
Rank 1
 answered on 13 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?