| <telerik:GridTemplateColumn DataField="PricePerBottle" |
| DataType="System.Decimal" HeaderText="£/Unit" SortExpression="PricePerBottle" |
| UniqueName="PricePerBottle"> |
| <ItemTemplate> |
| <asp:Label ID="PricePerBottleLabel" runat="server" Text=''></asp:Label> |
| </ItemTemplate> |
| Protected Sub RadGrid1_ItemDataBound(ByVal sender As Object, ByVal e As GridItemEventArgs) Handles RadGrid1.ItemDataBound |
| If TypeOf e.Item Is GridDataItem Then |
| Dim label1 As Label = DirectCast(item("PricePerBottle").FindControl("PricePerBottleLabel"), Label) |
| label1.Text = someMathFunction(item("PricePerBottle").Text) |

I like the document manager functionalityfor uploading documents to a site.
I also like the hyperlink manager functionalitywhich allows me to use the Hyperlink, anchor and email tabs.
What I don't like is that I can't link toother document libraries in other sites in the same site collection without explicitlyspecifying those libraries URL's in the Rad configuration files.
So I'd like to replace the document managerlink JUST INSIDE the hyperlink manager window so that the user canuse all of the functionality telerik supplies but when he clicks the documentmanager icon (just inside the hyperlink manager window) he get's displayed withthe SharePoint default link manager. can I do that?
kind of like using this <toolname="MOSSLinkManager" shortcut="CTRL+K" /> but onlyfrom within the hyperlink manager.
how can I do that?

| <telerik:RadCaptcha CaptchaImage-BackgroundNoise="Medium" CaptchaImage-TextColor="DarkSlateGray" |
| EnableViewState="true" ProtectionMode="Captcha" CaptchaImage-TextChars="LettersAndNumbers" |
| ID="rcapContactUs" runat="server" ErrorMessage=" The code you entered is not valid." |
| Display="Dynamic" SetFocusOnError="True" ValidationGroup="MyContact" |
| EnableRefreshImage="true" |
| Font-Size="Smaller" CaptchaTextBoxCssClass="pageTextbox" |
| CaptchaTextBoxLabelCssClass="pageLabelsHead" Font-Names="Arial" |
| IgnoreCase="False"> |
| <captchaimage backgroundnoise="Medium" textcolor="DarkSlateGray" /> |
| </telerik:RadCaptcha> |
<
telerik:RadCaptcha ID="RadCaptcha1" runat="server" ValidationGroup="Group"
ErrorMessage="Page not valid. The code you entered is not valid." >
</telerik:RadCaptcha>
Hello,
I have a scrolling grid using static headers and no paging. I need to have the grid expand inside it's container but I've gone through the forums for the splitter and grid as well as the code library and I can't seem to get it to work correctly.
I want the grid to scroll, not the splitter pane so that the column headers stay on the screen. Also, if it's not too much to ask I'd like to be able to have the grid resize when the screen resizes and causes the splitter to resize.
The page is set up with a splitter as the main control set for a horizontal orientation. In the splitter there are 2 RadPanes. The top one contains header text and a toolbar. The bottom one contains the grid. Around the grid I added a div just for padding.
What is happening with this setup is the splitter occupies 100% of the page correctly. The bottom pane expands to fill the rest of the page under the header, which is correct. But the grid opens to around 200px high and 40px wide and then immediatly snaps to full width (which is correct) but only shows the column headers and another 10px (around 30px total height).
Attached is a screen shot of the grid after it expands.
| <style type="text/css"> |
| html, body, form |
| { |
| height: 100%; |
| margin:0; |
| padding:0; |
| overflow: hidden; |
| } |
| </style> |
| <telerik:RadSplitter ID="rsMain" runat="server" Height="100%" Width="100%" Orientation="Horizontal"> |
| <telerik:RadPane ID="rpTop" runat="server" Height="110px" Locked="true"> |
| <div style="padding: 10px; padding-bottom:0;"> |
| This is my page header |
| <div style="padding-bottom: 20px"> |
| <telerik:RadToolBar ID="rtbToolbar" runat="server"> |
| <Items> |
| <telerik:RadToolBarButton runat="server" SkinID="FolderUp" id="rtbbBack" PostBack="false"></telerik:RadToolBarButton> |
| <telerik:RadToolBarButton runat="server" SkinID="Refresh" id="rtbbRefresh" PostBack="false"></telerik:RadToolBarButton> |
| </Items> |
| </telerik:RadToolBar> |
| </div> |
| </div> |
| </telerik:RadPane> |
| <telerik:RadPane ID="rpBottom" runat="server" Height="100%"> |
| <div style="padding: 10px; padding-top: 0;"> |
| <telerik:RadGrid ID="rgMyGrid" runat="server" OnNeedDataSource="rgMyGrid_NeedDataSource" Height="100%" Width="100%"> |
| <ClientSettings> |
| <Scrolling AllowScroll="true" UseStaticHeaders="true" /> |
| </ClientSettings> |
| <MasterTableView AutoGenerateColumns="false" TableLayout="Auto"> |
| <Columns> |
| <telerik:GridHyperLinkColumn UniqueName="Name" DataTextField="Name" DataNavigateUrlFields="DetailsUrl" HeaderText="Name"> |
| </telerik:GridHyperLinkColumn> |
| <telerik:GridImageColumn UniqueName="IsCustom" HeaderStyle-Width="60px" HeaderText="Custom" DataImageUrlFields="IsCustomImageUrl" |
| ItemStyle-HorizontalAlign="Center" /> |
| </Columns> |
| </MasterTableView> |
| </telerik:RadGrid> |
| </div> |
| </telerik:RadPane> |
| </telerik:RadSplitter> |
Anyone have any ideas?
