Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
130 views
I have a number of rad docks on a portal page, each of the docks contain a WebUserControl. Each of these controls are configurable by the end user.

one example is a user adds a rss feed control and they then choose the geographical location of the news they want the feed to show. The user can add multiple rss feed control to the portal page each with different settings. I need a way if capturing the uniqueid of each control so I can retrieve the correct configurations setting form the database.

any examples n vb.net please

thanks
Kevin Babcock
Top achievements
Rank 1
 answered on 14 Jul 2008
2 answers
191 views
I had earlier asked about the fixed size of appts and I was given following CSS by your support team to display appts as a fixed size.

The problem now I notice is - when there is an appt at 8 AM upto 10 AM, it hides the appt at 9 AM beneath it and does not display.

Can you please help, how to resolve this?

Thanks,
Piyush

        .RadScheduler_Outlook .rsDayView .rsRow .rsCell .rsWrap .rsApt  
        {         
            margin-right: 10px;  
            width: 200px !important;  
            left: auto !important;  
            position: relative !important;  
            float: left !important;  
        }        
Piyush Bhatt
Top achievements
Rank 2
 answered on 14 Jul 2008
2 answers
339 views
Hi,
I am trying to change the property of a edititemtemplate's textbox control in the ItemCommand event to make certain textboxes readonly when the user wants to insert a record.  Here's the template column-
                    <telerik:GridTemplateColumn HeaderText="Cage Code" SortExpression="CageCode" UniqueName="CageCodeTemplate" > 
                        <ItemTemplate> 
                            <asp:Label runat="server" ID="lblCageCode" Text='<%# Eval("CageCode") %>' /> 
                        </ItemTemplate> 
                        <EditItemTemplate > 
                            <asp:TextBox runat="server" CausesValidation="true" ID="tbCageCode" Text='<%# Bind("CageCode") %>' /> 
                            <span style="color: Red">*</span><asp:RequiredFieldValidator ID="rvalCageCode" ControlToValidate="tbCageCode" 
                                ErrorMessage="Required Field!"  runat="server"></asp:RequiredFieldValidator> 
                        </EditItemTemplate> 
                    </telerik:GridTemplateColumn> 
 

Here's the snippet for the itemCommand, IGNORE the GridBoundColumn statements - I change from a GridBoundColumn to a templateColumn to allow for a validator.

        protected void RadGridCageCodeLookup_ItemCommand(object source, GridCommandEventArgs e)  
        {  
            //objectDatasource is stateless, must change the selectMethod to manufacturer code and add parameter of static mfg id.  
            if (e.CommandName.Contains("Insert"))  
            {  
 
                //FOR INSERTS, make cage code writable since the user is adding a CAGE code   
                //FOR insert, hide manufacturer id b/c they are in the manufacturer entity-can not change  
                ((GridBoundColumn)RadGridCageCode.Columns.FindByUniqueName("ManufacturerID")).ReadOnly = true;  
                ((GridBoundColumn)RadGridCageCode.Columns.FindByUniqueName("ManufacturerID")).Visible = false;  
            }  
      } 

Thanks in advance!
Gary
Gary
Top achievements
Rank 1
 answered on 14 Jul 2008
2 answers
306 views
Is it possible to allow the scheduler to exceed 100% width of the browser window?

My application uses the RadScheduler to view the schedules of up to approximately 18 resources side by side.  When viewing more than 8 resources 1280 x800 the columns in the RadScheduler start to become too narrow.  I would like to have the scheduler stretch beyond the boundaries of the browser window.  Is this possible with the RadScheduler?

Thanks,
Al
Albert
Top achievements
Rank 1
 answered on 14 Jul 2008
3 answers
80 views
I need to fine grain some ajaxing for RadTree Context menus.

My example is a master page and and ajax proxy, when I ajax the tree with a panel no problem but I have context menus that not all operations need to update the panel but rather the tree itself.

Now the menui items are visible in the in the ajax proxy but do not work when I select them they just post back.

I'm using the 

RadTreeView1_ContextMenuItemClick event to perform the operations on the server.

Is it possible to get the content menu items to Ajax?

Cheers

Matt

Simon
Telerik team
 answered on 14 Jul 2008
1 answer
187 views
Hi

I have a RadTabStrip control on the page, inside page, I just jquery to add css
to highlight several fields, but it seems not working at all. here is my code
snippet

JS code:

        $(document).ready(function() {
            $("#<%=btnSaveDefaultReply.ClientID%>").hover(
              function () {
                $(".btnSaveDefaultReply").addClass("actionhighlight");
              },
              function () {
                $(".btnSaveDefaultReply").removeClass("actionhighlight");
              }
            )           
        });

Html code:

            <telerik:RadPageView ID="pMisc" runat="server">
                <br />
                <table border="0" cellpadding="5" cellspacing="5" width="450px">
                    <tr>
                        <td colspan="3">
                            <strong>Default Reply Name and Email</strong>
                        </td>
                    </tr>
                    <tr class="dd btnSaveDefaultReply" id="test">
                        <td class="label">
                            Default Reply Email:
                        </td>

.......

Kevin Babcock
Top achievements
Rank 1
 answered on 14 Jul 2008
1 answer
151 views
Hi All,

My client requires that instead of clicking on the checkbox above, there be a button which reads "select all" at a different place on the page, by which the user can select all the rows of the radgrid. Similarly another button to clear all selections. Is there a way in whcih i can do this? I could not find anything on the forums so far.

Cheers,
M

Nikolay Rusev
Telerik team
 answered on 14 Jul 2008
2 answers
145 views
We recently upgrade to the latest version of ASP.NET Ajax toolkit (v.2008.1.619.20).

When going into the Design mode (for an ASPX page), I am getting control errors.

In one example, I have a telerik:RadAjaxPanel on the page.  The error I am getting is:

"Error Creating Control - panelAjaxPanel
Unable to create type 'telerik:RadAjaxPanel',  Could not laod file or assembly'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicToken=31bf3856ad36e35' or one of its dependencies.  The system cannot find the file specified'.

Any thoughts are what is causing this issue?

Thanks.
Steve

Environment:
VS2008
XP (sp3)
Telerik v.2008.1.619.20
Steve
Top achievements
Rank 1
 answered on 14 Jul 2008
3 answers
179 views
I'm trying to find a way to insert an external image in the rad editor. I would like to be able to say "insert image..." and then just give it a url to the image. Is this possible? I see a work around of inserting any image, and then editing the properties of it and changing the source location to the url of the image i want, but this is somewhat tedious.

-Brian
Rumen
Telerik team
 answered on 14 Jul 2008
1 answer
110 views
Hi Telerik Team,

I've browsed through ApplyClass articles, but did not find anything with the issues below. It has to do with the way the selected class is presented in the toolbar.

1. ApplyClass edtor tool shows the value of the default class when page is loaded. When you click inside the content box on a spot that has not been styled, it changes back to ApplyClass, i.e. the default name, not the default value.

I've seen the article explaining that the change can be done using the localization and Main.xml file, which we are not using. Is there a way to do it programmatically?

2. The opposite apply if you select any particular class - it shows the selected value instead of the class name in the selected drop down item. For example it shows "RadEditor_Title" instead "Title" in the selected area, as well as in the tooltip when a class is hovered.

Is this a bug or intended behaviour, and how to make it populate the name, instead the value?

Thanks,
Luc

Rumen
Telerik team
 answered on 14 Jul 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?