Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
58 views
Hi,

I was trying out this dynamic created dock demo -> http://demos.telerik.com/aspnet-ajax/dock/examples/dynamicdocks/defaultcs.aspx

I created two docks and moved one of the them few times between the columns.  The suddenly the two become three and the page crashes.  I have tried this in IE8, Chrome and Firefox.  bug ?
Pero
Telerik team
 answered on 26 Aug 2010
2 answers
501 views
Hi Sir,

I am using ajaxupdatepanel in my entire application.

But in some pages i have use to normal update panel.

But when loading ui look diffrent.

So please can u give me CSS for that i using that in my update progress.

For that my entire application looking same.

Please give me proper solution.

Thanks.

Kishor Dalwadi.
Kishor Dalwadi
Top achievements
Rank 2
 answered on 26 Aug 2010
1 answer
204 views
Hi,

I am fairly new to telerik grid so please be patient.  I have a nested grid which displays Brokers in the main grid and then Broker contacts within it in the nested grid.  I want the nested grid to be able to add and update the contacts.  I currently have the nested grid opening up a rad window when the user clicks on the 'Add New Broker'.  I am using a CommandItemTemplate for this and calling a javascript function on the onclick event of it.  I do something similar for the edit using a GridTemplateColumn and it works fine since I can get the values of the fields using DataBinder.Eval...  Is there any way I can get the value of the id of the parent row (in this case BrokerOfficeID) to pass as a parameter of the function in the CommandItemTemplate?  I have spent a few days trying to figure this out and I'm kinda stuck...  Everything else seems to be working great!  Thanks for any help!!!

here is the code for the grid/nested grid

    <telerik:RadGrid ID="grdBrokers" runat="server"  AutoGenerateColumns="False" 
        AllowSorting="True" AllowPaging="True"  OnNeedDataSource="grdBrokers_NeedDataSource"
        AllowFilteringByColumn="True" EnableLinqExpressions="False"   
           OnDetailTableDataBind
="grdBrokers_DetailTableDataBind"
        Skin="Office2007">
        <MasterTableView CommandItemDisplay="Top" DataKeyNames="BrokerOfficeID" Height="100%" >
            <PagerStyle Mode="NextPrevAndNumeric" Position="Bottom" />
            <HeaderStyle HorizontalAlign="Center" />
            <RowIndicatorColumn>
                <HeaderStyle Width="20px" HorizontalAlign="Center" />
            </RowIndicatorColumn>
            <ExpandCollapseColumn>
                <HeaderStyle Width="20px" HorizontalAlign="Center" />
            </ExpandCollapseColumn>
            <DetailTables>
                <telerik:GridTableView DataKeyNames="BrokerContactID" Name="BrokerContacts" Width="100%"
                    AllowFilteringByColumn="false" CommandItemDisplay="Top">
                    <Columns>
                        <telerik:GridBoundColumn SortExpression="BrokerOfficeID" HeaderText="Office ID" HeaderButtonType="TextButton"
                            DataField="BrokerOfficeID" UniqueName="BrokerOfficeID" AllowFiltering="false">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn SortExpression="BrokerContactID" HeaderText="Contact ID" HeaderButtonType="TextButton"
                            DataField="BrokerContactID" UniqueName="BrokerContactID" AllowFiltering="false">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn SortExpression="Name" HeaderText="Contact Name" HeaderButtonType="TextButton"
                            DataField="Name" UniqueName="Name" AllowFiltering="false">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn SortExpression="Email" HeaderText="Email" HeaderButtonType="TextButton"
                            DataField="Email" UniqueName="Email" AllowFiltering="false">
                        </telerik:GridBoundColumn>
                        <telerik:GridTemplateColumn AllowFiltering="false" HeaderText="Edit" UniqueName="TemplateEditColumn">
                            <HeaderStyle Width="30px" HorizontalAlign="Center" />
                            <ItemStyle Width="30px" HorizontalAlign="Center" />
                            <ItemTemplate>
                                <a href="#" onclick="ShowEditBrokerContactForm('<%# DataBinder.Eval(Container.DataItem, "BrokerOfficeID") %>','<%# DataBinder.Eval(Container.DataItem, "BrokerContactID") %>');"><img id="Img1" alt="" src ="~/App_Themes/Images/edit.gif" runat="server" border="0" /></a>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                    </Columns>
                    <CommandItemTemplate>
                        <a href="#" onclick="return ShowInsertBrokerContactForm('<%# get id of parent row here  %>);">Add New Broker Contact</a>
                    </CommandItemTemplate>
                </telerik:GridTableView>
            </DetailTables>
            <Columns>
                <telerik:GridBoundColumn HeaderText="ID" DataField="BrokerOfficeID" FilterControlWidth="30px"
                    SortExpression="BrokerOfficeID" UniqueName="BrokerOfficeID" HeaderButtonType="TextButton">
                    <HeaderStyle Width="30px" />
                    <ItemStyle Width="30px" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Broker Office" DataField="Name" FilterControlWidth="300px"
                    SortExpression="Name" UniqueName="Name" HeaderButtonType="TextButton">
                    <HeaderStyle Width="300px" />
                    <ItemStyle Width="300px" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn HeaderText="Company Code" DataField="CompanyCode" FilterControlWidth="35px"
                    SortExpression="CompanyCode" UniqueName="CompanyCode" HeaderButtonType="TextButton">
                    <HeaderStyle Width="35px" />
                    <ItemStyle Width="35px" />
                </telerik:GridBoundColumn>
                <telerik:GridTemplateColumn AllowFiltering="false" HeaderText="Edit" UniqueName="TemplateEditColumn">
                    <HeaderStyle Width="30px" HorizontalAlign="Center" />
                    <ItemStyle Width="30px" HorizontalAlign="Center" />
                    <ItemTemplate>
                        <a href="#" onclick="ShowEditBrokerForm('<%# DataBinder.Eval(Container.DataItem, "BrokerOfficeID") %>');"><img alt="" src ="~/App_Themes/Images/edit.gif" runat="server" border="0"></a>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
            </Columns>
            <CommandItemTemplate>
                <a href="#" onclick="return ShowInsertBrokerForm();">Add New Broker</a>
            </CommandItemTemplate>
        </MasterTableView>
        <ClientSettings AllowExpandCollapse="true" >
        </ClientSettings>
        <GroupingSettings CaseSensitive="false" />
    </telerik:RadGrid>
</telerik:RadPageView>

Here are the javascript functions...

function ShowEditBrokerContactForm(id1,id2) {
    window.radopen("EditBrokerContact.aspx?BrokerOfficeID=" + id1 + "&BrokerContactID=" + id2, "UserListDialog");
    return false;
}
function ShowInsertBrokerContactForm(id) {
    window.radopen("EditBrokerContact.aspx?BrokerOfficeID=" + id, "UserListDialog");
    return false;
}
Dan
Top achievements
Rank 1
 answered on 26 Aug 2010
1 answer
195 views
Hi,

We are trying to upload a file using RadUpload control in one of the pages. There are some server side validations before the save will happen on the server. There seems to be some problem in the RadUpload control after the validation when the page is displayed back to the user to re-enter some of the invalid data. As soon as the page is returned to the user with the validation error, the RadUpload control seems to have lost the information of the selected file in the previous attempt to submit the data in the screen. We are not sure if this is happening because we have not set some flags to retain the selected file information in the control(may be in the view state or something as other controls do).

Can someone help us in this issue. I had raised a support ticket with telerik last week and I did not get any response so far.

Thanks,
Manoj
Genady Sergeev
Telerik team
 answered on 26 Aug 2010
1 answer
117 views
Hi,

I need to change some of the embedded styles for the radconfirm popup box.  Are there any online examples?  How do I see the HTML for the Rad confirm box?  I am using ASPNET AJAX Q2 2008.

Thanks
Brendan
Princy
Top achievements
Rank 2
 answered on 26 Aug 2010
1 answer
63 views
Hi,

is it possible to deselect a row when I have the ability to select only one row (AllowMultiRowSelection="false").

Now when the row is selected it cannot be deselected. I found some server side solutions but I would like to make it client side.
Pavlina
Telerik team
 answered on 26 Aug 2010
2 answers
98 views
I have a  RadGrid and code behind and I'm trying to filter on a column.  I am also following the basic example under live examples (except am using NeedDataSource instead of using a SqlDataSource in my code).  When I hit enter in a filter I get the AJAX loading circle but nothing is ever filtered.  Can anyone tell me what I'm doing wrong?  I believe I am following the example correctly:

Code Behind:
 protected override void OnInit(EventArgs e)
 {
this.RadGridItems.NeedDataSource += new Telerik.Web.UI.GridNeedDataSourceEventHandler(RadGridItems_NeedDataSource);
        base.OnInit(e);
}

void RadGridItems_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
this.RadGridItems.DataSource = Item.ListItems(); /* My object which is being bound and displayed correctly in the radgrid */
}

ASP.NET Code (I've slimmed the example to just one GridBoundColumn--all data is displayed correctly):
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadGridItems">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGridItems" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />

<telerik:RadGrid ID="RadGridItems" runat="server" GridLines="None" AllowPaging="True" CssClass="RadGrid" PageSize="20"
        AllowSorting="True" AutoGenerateColumns="False" ShowStatusBar="true" AllowMultiRowSelection="false" AllowFilteringByColumn="True">
        <MasterTableView Width="100%" CommandItemDisplay="Top" DataKeyNames="Id" AllowFilteringByColumn="True">
            <Columns>
                <telerik:GridEditCommandColumn UniqueName="EditCommandColumn"  />
                <telerik:GridBoundColumn UniqueName="CatalogNumber" HeaderText="Catalog Number" DataField="CatalogNumber" HeaderStyle-Width="20%" 
                     CurrentFilterFunction="EqualTo" FilterDelay="4000" ShowFilterIcon="false" SortExpression="CatalogNumber" />
            </Columns>
        </MasterTableView>
</telerik:RadGrid>

This code properly shows the radgrid control and populates it with data.  When I type text into the filter box, the AJAX loading panel shows but nothing is ever filtered.

I'd really appreciate some help as to what I'm doing wrong.

Thanks,

Ken
Michelle Scott
Top achievements
Rank 1
 answered on 26 Aug 2010
5 answers
206 views

Hi,

 

I'm using the RadPanelBar

 

It's being used as a breadcrumb so there are no links to go to.  I can't remove the cursor (href links) hand and hovers. There is a real obvious hover on the heading (track you progress).

 

Also there is a weird white line below the heading that I can't get rid of.

 

Before I posted my problem I did check all the boards and I couldn’t find anything discussing removing links and hovers.

 

Here is a link to the files:

http://www.websitedesigninnewyork.com/misc/PattiSmallProject.zip

 

I hope someone can help. I’ve been trying to figure this out for two days:(. Thanks for any help.

 

Patti

Patricia Byrne
Top achievements
Rank 1
 answered on 26 Aug 2010
1 answer
139 views
Is it possible to move the menu position on RadMenu control ?

please help me as soon as possible and tell me the way how I achive this using telerik RadMenu control

Example: I have Four Menu called: Home, About Us, Features, Contact Us
I want that my user can change the position of this menu like: Features, Home, Contact Us, About Us
Yana
Telerik team
 answered on 26 Aug 2010
1 answer
122 views
Hi,

After the RadUploadControl is disabled using the client API method set_enabled(false), when the user hover the mouse over the disabled RadUploadControl's 'Select' button, the javascript error <'tagName' is null or not an object> is thrown. When debugged we saw a piece of code in the telerik library which is failing. The line where the code is failing is <while(b.tagName!="LI"){b=b.parentNode;>. Kindly do the needful.

I had already raised a support ticket with telerik but no response so far.

Thanks,
Manoj
Genady Sergeev
Telerik team
 answered on 26 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?