Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
117 views

Hi,

I need to set the browser window disable until the user click OK/Cancel button in the radwindow
I saw the example , in TELERIK site,http://demos.telerik.com/aspnet-ajax/window/examples/dialogreturnvalue/defaultcs.aspx
As like in this example, when the user clicks the "Choose Destination & Date" button , a radwindow appears. I got the same effect in my radwindow sample application.In telerik example, when the user clicks the Choose City icon ,  another radwindow opens. At that time, the browser window is disabled. I need that effect in the browser window .please help me regarding this urgently.
Thanks in Advance.

<
telerik:RadWindowManager ID="RadWindowManager1" ReloadOnShow="true" runat="server" Skin="Outlook" Animation="Fade">

 

 

<Windows>

 

 

<telerik:RadWindow ID="radwindow1" runat="server"

 

 

ShowContentDuringLoad="False"

 

 

NavigateUrl="window1.aspx"

 

 

width="400px"

 

 

height="400px"

 

 

 

title = "New Contact" style="display:none;" Behavior="Default" InitialBehavior="None" Left="" Modal="true" Top="" VisibleStatusbar="true"></telerik:RadWindow>

 

 

</Windows>

 

 

</telerik:RadWindowManager>

 

Svetlina Anati
Telerik team
 answered on 14 Sep 2009
2 answers
113 views
Hello,

I'm having trouble styling my chart, specifically #1 and #2 which you can see in the image located here:


#1. how do I remove these borders? 

#2. How do I remove this gap where the title is? 

below is snippets of my code behind and ASPX designer code:


//create chart type Pie 
            ChartSeries activityChartSeries = new ChartSeries(); 
            activityChartSeries.Type = ChartSeriesType.Pie; 
 
            //styles 
            activityChartSeries.Appearance.Border.Visible = false
            activityChartSeries.Appearance.LegendDisplayMode = ChartSeriesLegendDisplayMode.ItemLabels; 
            activityChartSeries.DefaultLabelValue = "#%{P2}"
 
            //data source 
            RadChart2.DataSource = activityStats; 
 
            //add series 
            RadChart2.Series.Add(activityChartSeries); 
            RadChart2.Series[0].DataYColumn = "Value"
             
            //data bind 
            RadChart2.ItemDataBound += new EventHandler<ChartItemDataBoundEventArgs>(RadChart2_ItemDataBound); 
            RadChart2.DataBind(); 

<telerik:RadChart ID="RadChart2" BorderWidth="0"  ChartTitle-Appearance-Border-Visible="false" ChartTitle-TextBlock-Visible="false" Legend-Appearance-Border-Visible="false" Width="500" Height="375" OnBeforeLayout="RadChart2_BeforeLayout" 
            OnItemDataBound="RadChart2_ItemDataBound" runat="server" DefaultType="Pie" Skin="Web20"
        </telerik:RadChart> 

Velin
Telerik team
 answered on 14 Sep 2009
1 answer
197 views
Hi Folks! I'm hoping someone can point me in the right direction.

I have a tabstrip with mulitpage implemented into my application. My pageviews are getting created dynamically. I'm loading a user control in each of the tabs.

The tabs are created based on a RADgrid. When a user clicks on a RADgrid row, I create a tab. The tab name is assigned based on a column name of the RADgrid.

What is the easies way to check if the TAB I'm trying to create already exists? I thought about creating an array and storing each tab name in it, then I can just check the array at the time of the tab creation, but is this the best way to implememt what I'm trying to do?

Thanks!
Princy
Top achievements
Rank 2
 answered on 14 Sep 2009
1 answer
87 views
I am trying to set the design for title for the window control but it isn't working and IE shes that there is an error on the page.


Alex Gyoshev
Telerik team
 answered on 14 Sep 2009
0 answers
185 views
hi,

i am getting this error when i try to bind telerik menu with sitemap file.

in my sitemap file there are many entries like url="~/Content/Default.aspx?Data=TWVudUlEPTEzMQ%3d%3d-e9WS1VtVtfk%3d"

it cause problem. but if i take xmldatasource then it would be work fine.And this sitemap file works perfact with asp.net menu. there is problem with telerik menu only.

please help me asap.


thanks in advance
mp
Test
Top achievements
Rank 1
 asked on 14 Sep 2009
5 answers
240 views
We need to create some tabs on the client side and they need to be specific widths.  There doesn't seem to be a client side set_width() method.

Is there a way to set the width for a tab created via JavaScript?
Alex Gyoshev
Telerik team
 answered on 14 Sep 2009
4 answers
250 views
I have a repeater and want to have an ajax kind of tool-tip that will display in an overlay dif when a user clicks on an image next to the item.

The tooltip content is stored in a database table.

Most examples of this kind of thing seem to respond to a single button click rather than one of many possible image buttons.

Also, I'm just starting with the Rad tools. Can someone tell me which to use for this purpose and give me some ideas on how to proceed?

I'm putting this into a custom DNN module, but don't expect that brings much, if any, difference.

Thanks -
Svetlina Anati
Telerik team
 answered on 14 Sep 2009
2 answers
146 views


hi.,
Can any one help me plese...
now i want to fine the  btnfront,btnback, buttons  and frameimage iframe
how to find the button in side Nested Hierarchy Grid.,
 <telerik:RadGrid ID="RadGrid1" runat="server" Skin="trublue" EnableEmbeddedSkins="False" 
                GridLines="None" Style="left: 25px; position: relative; top: 14px; text-align: left;" 
                Width="750px" AllowPaging="True" PageSize="20" AutoGenerateColumns="False"
                <PagerStyle Mode="NumericPages" /> 
                <HeaderContextMenu EnableEmbeddedSkins="False"
                </HeaderContextMenu> 
                <MasterTableView DataKeyNames="TransactionsID"
                    <DetailTables> 
                        <telerik:GridTableView Name="TransDetails" runat="server" DataKeyNames="CheckNumber"
                            <NestedViewTemplate> 
                                <asp:Panel ID="Container" runat="server"
                                    <telerik:RadTabStrip ID="Gridtab1" runat="server" Skin="trublue" EnableEmbeddedSkins="False" 
                                        MultiPageID="gridmultypage1"
                                        <Tabs> 
                                            <telerik:RadTab runat="server" PageViewID="gridpageview1" Selected="true" Text="Transactions Details"
                                            </telerik:RadTab> 
                                            <telerik:RadTab runat="server" PageViewID="gridpageview2" Selected="true" Text="Attachment Details"
                                            </telerik:RadTab> 
                                        </Tabs> 
                                    </telerik:RadTabStrip> 
                                    <telerik:RadMultiPage ID="gridmultypage1" SelectedIndex="0" runat="server"
                                        <telerik:RadPageView ID="gridpageview1" runat="server"
                                            <br /> 
                                            <table style="position: static; text-align: left"
                                                <tbody> 
                                                    <tr> 
                                                        <td style="width: 100px"
                                                        </td> 
                                                        <td style="width: 100px"
                                                            <asp:Label Style="position: static" ID="lblchkno" runat="server" Width="115px" Text="Cheque Number"
                                                            </asp:Label></td
                                                        <td> 
                                                            :</td> 
                                                        <td style="width: 224px"
                                                            <asp:Label Style="position: static" ID="lblchequenumber" runat="server" Width="260px"></asp:Label> 
                                                        </td> 
                                                        <td style="width: 12px"
                                                        </td> 
                                                    </tr> 
                                                    <tr> 
                                                        <td style="width: 100px"
                                                        </td> 
                                                        <td style="width: 100px"
                                                            <asp:Label Style="position: static" ID="lblchkamount" runat="server" Text="Cheque Amount"
                                                            </asp:Label></td
                                                        <td> 
                                                            :</td> 
                                                        <td style="width: 224px"
                                                            <asp:Label Style="position: static" ID="lblchequeamount" runat="server" Width="260px"></asp:Label> 
                                                        </td> 
                                                        <td style="width: 12px"
                                                        </td> 
                                                    </tr> 
                                                    <tr> 
                                                        <td style="width: 100px"
                                                        </td> 
                                                        <td style="width: 100px"
                                                            <asp:Label Style="position: static" ID="lblchkdate" runat="server" Text="Cheque Date"></asp:Label></td
                                                        <td> 
                                                            :</td> 
                                                        <td style="width: 224px"
                                                            <asp:Label Style="position: static" ID="lblchequedate" runat="server" Width="260px"></asp:Label> 
                                                        </td> 
                                                        <td style="width: 12px"
                                                        </td> 
                                                    </tr> 
                                                    <tr> 
                                                        <td style="width: 100px"
                                                        </td> 
                                                        <td style="width: 100px"
                                                            <asp:Label Style="position: static" ID="lblcltname" runat="server" Text="Client Name"></asp:Label> 
                                                        </td> 
                                                        <td> 
                                                            :</td> 
                                                        <td style="width: 224px"
                                                            <asp:Label Style="position: static" ID="lblclientname" runat="server" Width="260px"></asp:Label> 
                                                        </td> 
                                                        <td style="width: 12px"
                                                        </td> 
                                                    </tr> 
                                                    <tr> 
                                                        <td style="width: 100px"
                                                        </td> 
                                                        <td style="width: 100px"
                                                            <asp:Label Style="position: static" ID="lblbnkname" runat="server" Text="Bank Name"></asp:Label> 
                                                        </td> 
                                                        <td> 
                                                            :</td> 
                                                        <td style="width: 224px"
                                                            <asp:Label Style="position: static" ID="lblbankname" runat="server" Width="260px"></asp:Label> 
                                                        </td> 
                                                        <td style="width: 12px"
                                                        </td> 
                                                    </tr> 
                                                </tbody> 
                                            </table> 
                                            <br /> 
                                        </telerik:RadPageView> 
                                        <telerik:RadPageView ID="RadPageView2" runat="server"
                                            <br /> 
                                            <table> 
                                                <tr> 
                                                    <td> 
                                                        <telerik:RadGrid ID="RadGridDD" Skin="trublue" EnableEmbeddedSkins="False" runat="server" 
                                                            AutoGenerateColumns="false"
                                                            <ClientSettings> 
                                                                <Selecting AllowRowSelect="true" /> 
                                                            </ClientSettings> 
                                                            <MasterTableView> 
                                                                <Columns> 
                                                                    <telerik:GridTemplateColumn> 
                                                                        <HeaderTemplate> 
                                                                            Download 
                                                                        </HeaderTemplate> 
                                                                        <ItemTemplate> 
                                                                            <asp:LinkButton ID="btndownload" runat="server" Text="Download" OnClick="btndownload_click"></asp:LinkButton> 
                                                                        </ItemTemplate> 
                                                                    </telerik:GridTemplateColumn> 
                                                                    <telerik:GridBoundColumn DataField="id" HeaderText="id" UniqueName="id" Visible="false"
                                                                    </telerik:GridBoundColumn> 
                                                                    <telerik:GridBoundColumn DataField="transno" HeaderText="transno" UniqueName="transno" 
                                                                        Visible="false"
                                                                    </telerik:GridBoundColumn> 
                                                                    <telerik:GridBoundColumn DataField="docname" HeaderText="Document Name" UniqueName="docname"
                                                                    </telerik:GridBoundColumn> 
                                                                    <telerik:GridBoundColumn DataField="filename" HeaderText="File Name" UniqueName="filename"
                                                                    </telerik:GridBoundColumn> 
                                                                </Columns> 
                                                            </MasterTableView> 
                                                        </telerik:RadGrid> 
                                                    </td> 
                                                </tr> 
                                                <tr> 
                                                    <td> 
                                                        <table style="position: static"
                                                            <tr> 
                                                                <td style="width: 100px"
                                                                    <asp:Button ID="btnfront" runat="server" Style="position: static" OnClick="btnfrontgrd_click" Enabled="false" 
                                                                         Text="View Front" /></td
                                                                <td style="width: 100px"
                                                                    <asp:Button ID="btnback" runat="server" Style="position: static" OnClick="btnbackgrd_click" Enabled="false" 
                                                                         Text="View Back" /></td
                                                                <td style="width: 100px"
                                                                </td> 
                                                                <td style="width: 100px"
                                                                </td> 
                                                                <td style="width: 100px"
                                                                </td> 
                                                                <td style="width: 100px"
                                                                </td> 
                                                                <td style="width: 100px"
                                                                </td> 
                                                                <td style="width: 100px"
                                                                    <asp:Button ID="btndownloadgrd" runat="server" Style="position: static" OnClick="btndownloadgrd_click" Enabled="false" 
                                                                         Text="Download" /></td
                                                                <td style="width: 100px"
                                                                    <asp:Button ID="btnprintgrd" runat="server" Style="position: static" Text="Print" 
                                                                        Visible="False" /></td
                                                            </tr> 
                                                        </table> 
                                                    </td> 
                                                </tr> 
                                            </table> 
                                            <br /> 
                                            <iframe id="frameimage" style="overflow: scroll;" runat="server" width="674px" height="640px"
                                            </iframe> 
                                        </telerik:RadPageView> 
                                    </telerik:RadMultiPage> 
                                </asp:Panel> 
                            </NestedViewTemplate> 
                            <Columns> 
                                <telerik:GridBoundColumn DataField="CheckNumber" HeaderText="CheckNumber" UniqueName="CheckNumber"
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="CheckDate" HeaderText="CheckDate" UniqueName="CheckDate"
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="CheckReceivedOn" HeaderText="CheckReceivedOn" 
                                    UniqueName="CheckReceivedOn"
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="CheckAmount" HeaderText="CheckAmount" UniqueName="CheckAmount"
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="DepositeDate" HeaderText="DepositeDate" UniqueName="DepositeDate"
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="InvoiceNo" HeaderText="InvoiceNo" UniqueName="InvoiceNo"
                                </telerik:GridBoundColumn> 
                            </Columns> 
                            <ExpandCollapseColumn Visible="True"
                            </ExpandCollapseColumn> 
                            <EditFormSettings> 
                                <EditColumn CancelImageUrl="trublue/Grid/Cancel.gif" EditImageUrl="trublue/Grid/Edit.gif" 
                                    InsertImageUrl="trublue/Grid/Update.gif" UpdateImageUrl="trublue/Grid/Update.gif"
                                </EditColumn> 
                            </EditFormSettings> 
                        </telerik:GridTableView> 
                    </DetailTables> 
                    <Columns> 
                        <telerik:GridBoundColumn DataField="TransactionsID" HeaderText="TransactionsID" UniqueName="TransactionsID"
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="DepositeDate" HeaderText="DepositeDate" UniqueName="DepositeDate"
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="ChecksCount" HeaderText="ChecksCount" UniqueName="ChecksCount"
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="TotalAmount" HeaderText="TotalAmount" UniqueName="TotalAmount"
                        </telerik:GridBoundColumn> 
                    </Columns> 
                    <ExpandCollapseColumn Visible="True"
                    </ExpandCollapseColumn> 
                    <EditFormSettings> 
                        <EditColumn CancelImageUrl="trublue/Grid/Cancel.gif" EditImageUrl="trublue/Grid/Edit.gif" 
                            InsertImageUrl="trublue/Grid/Update.gif" UpdateImageUrl="trublue/Grid/Update.gif"
                        </EditColumn> 
                    </EditFormSettings> 
                </MasterTableView> 
                <ClientSettings> 
                    <Selecting AllowRowSelect="True" /> 
                    <ClientEvents OnRowDblClick="RowDblClicked" /> 
                </ClientSettings> 
                <FilterMenu EnableEmbeddedSkins="False"
                </FilterMenu> 
            </telerik:RadGrid> 

Thank you.

Suresh K
Top achievements
Rank 1
 answered on 14 Sep 2009
7 answers
140 views
I'm seeing an issue in Firefox 2, Firefox 3.5 and IE8 (surprisingly IE7 is working, or at least compatibility view is) in which skinning a RadUpload is causing the hidden input control to appear over the skinned items.

I copied one of the provided Telerik skins and put it into App_Themes/Default/RadControls/Default/Upload (following the same pattern as all of our other skinned controls, which are working properly) and added the following to the skin file:

<rad:RadUpload runat="server" EnableEmbeddedSkins="false" EnableEmbeddedBaseStylesheet="false"  />


Then I added the following to the .ascx file that I was working with:

<rad:RadUpload runat="server" ID="documentUpload" InitialFileInputsCount="3" Skin="Default"  />


I have made no other changes to the skin files, except changing the original name of the skin in the css file to Default (as I didn't pick the Telerik Default skin).  Also, I used Firebug to double check that the css being used was the css class that was in our files and not the one from the WebResource file, and it was. I had planned on making more changes to the files, but ran into the issue described below.

When you scroll the mouse over the select button or any of the input fields, the hidden input that the user isn't supposed to see becomes visible. I attempted to upload an image with this post, but the image wouldn't show properly, I will try to comment on this once it's posted and add the image. Basically you see a separate upload control over your skinned ones when you hover over the text boxes or select fields. I'm assuming this is the hidden upload control, but I can't find a way to hide it, and I'm not sure why this is happening with just a copy of one of the provided Telerik skins.

We're using RadControls for ASP.NET AJAX Q2 2009.

Thanks!



Kamen Bundev
Telerik team
 answered on 14 Sep 2009
2 answers
201 views
Hi,

I have a requirement of dispalying date without conversion to local timezone at browser. With the current Grid, it does conversion to local timezone which I don't want.

Is there any idea to prevent such conversion happend on client side?

Thanks,
Sam
Samnang
Top achievements
Rank 1
 answered on 14 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?