Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
188 views

Hi All,
i have a page in which i am using RadSplitter controls to design my page...
it has two panes header and content panes....
the content pane also has annother splitter which has left and right panes....
the left and right panes has different conent url that will call different pages.

in the left page i am using Rad treeview to get data from database....
i need to load the corresponding navigate url of the node clicked in the right pane which is in the parent page.

i tried to set the following code in the NodeClick event from code behined but nothing happene!!!

e.Node.Target = "ContentPane";

i don't know how to access the right RadPane of the parent page from the child left rad pane!!!

i will be very gratefull for any help...

Thanks
Asa'ad

Asa'ad
Top achievements
Rank 1
 answered on 05 Jul 2011
1 answer
90 views
I have a radgrid which is inside a nestedview. It has an autogenerated Delete button....when clicked, it works great and the grid is refreshed. However, when I "Insert" a new record, the DB is correctly updated but the grid is not refreshed. If I click the refres button on the grid, then all is well again.

Can someone explain why this might happen, and how I might fix it?

Thanks
Shinu
Top achievements
Rank 2
 answered on 05 Jul 2011
1 answer
121 views
Hello Telerik Team!

I need your help. I am creating a RadMenu where I wanted to take pictures of and ImageURL HoveredImageURL and use the CSS. But I just can not place at least one image using the CssClass RadMenuItem to bring in a single image, code below:
<telerik:RadMenu ID="RadMenu1" Runat="server">
            <Items>
                <telerik:RadMenuItem runat="server" Text="" CssClass="btnimage"   NavigateUrl="~/Default2.aspx" >
                </telerik:RadMenuItem>
            </Items>
</telerik:RadMenu>

The CSS File:

.btnimage
{
    background: url('img/unidades.jpg') no-repeat;
}

Note, I am using in my project "Theme", although a direct link in the css class without a path by Theme, did not work. I tried using also the EnableTheming = "true", but it still fails.

Please help me.

Thank you while

Raul
Princy
Top achievements
Rank 2
 answered on 05 Jul 2011
1 answer
128 views
Hi people
i have a grid which i add column in code behind.My problem is default scroll postion .I want default postion right of grid
my code is here
<telerik:RadGrid ID="grd"  runat="server"  AutoGenerateColumns="False" 
                    GridLines="None" Skin="Outlook" Width="1116px" 
                    Font-Bold="False" Font-Italic="False" 
                    Font-Overline="False" Font-Strikeout="False" Font-Underline="False" >
                    
<MasterTableView CommandItemDisplay="Top" EditMode="InPlace" Dir="RTL"  
                        NoMasterRecordsText="داده ای برای نمایش وجود ندارد" Width="100%" 
                        Font-Names="Tahoma" Font-Size="8.75pt" TableLayout="Fixed" >
    <CommandItemSettings AddNewRecordText="ثبت محل جدید" RefreshText="به روز رسانی" 
        ShowRefreshButton="False"    />
             
  
             
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
  
<ItemStyle Width="150px"></ItemStyle>
</RowIndicatorColumn>
             
  
             
    <Columns>
        <telerik:GridEditCommandColumn ButtonType="PushButton"  CancelText="انصراف" 
            EditText="ویرایش" InsertText="ذخیره" UpdateText="ویرایش">
            <HeaderStyle Width="150px" />
            <ItemStyle Width="150px" />
        </telerik:GridEditCommandColumn>
        <telerik:GridTemplateColumn  UniqueName="Places_ID_" DataField="Places_ID_" 
            HeaderText="محل"  >
         <EditItemTemplate>
            <telerik:RadComboBox ID="cmbPlaces" Width="200px" EnableItemCaching="true" LoadingMessage="صبر کنید" ShowWhileLoading="true"  ChangeTextOnKeyBoardNavigation="true" ShowDropDownOnTextboxClick="false"    Runat="server" AutoCompleteSeparator=","  AllowCustomText="true" Filter="Contains">
            </telerik:RadComboBox>
           
         </EditItemTemplate>
           <HeaderStyle Width="210px" />
            <ItemStyle Width="210px" />
        <ItemTemplate>
        <asp:Label ID="lblPlaces" CssClass="Lbl"   runat="server" Text='<%# Eval("Places_Place") %>'></asp:Label>
        </ItemTemplate>
            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            <ItemStyle HorizontalAlign="Right" Width="200px" />
        </telerik:GridTemplateColumn>
  
  
    </Columns>
             
<EditFormSettings>
<EditColumn UniqueName="EditCommandColumn1"  ></EditColumn>
</EditFormSettings>
    <ItemStyle Font-Names="Tahoma" Font-Size="8.75pt" HorizontalAlign="Center" 
        VerticalAlign="Middle" Width="150px" />
  
<EditItemStyle Width="200px"></EditItemStyle>
  
    <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Names="Tahoma" 
        Font-Overline="False" Font-Size="Small" Font-Strikeout="False" 
        Font-Underline="False" HorizontalAlign="Center" VerticalAlign="Middle"  
        Wrap="True" Width="150px" />
    <CommandItemStyle Width="150px" />
</MasterTableView>
<ClientSettings>
<Scrolling AllowScroll="True"  ScrollHeight="350px"  >
</Scrolling>
</ClientSettings>
  
<EditItemStyle CssClass="test"></EditItemStyle>
  
<ItemStyle CssClass="test" Width="150px"></ItemStyle>
  
<FilterMenu EnableImageSprites="False"></FilterMenu>
  
<HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Outlook"></HeaderContextMenu>
                </telerik:RadGrid>

please help to me for solve this problem.I use RadControls for ASP.NET AJAX Q1 2010 SP1
Princy
Top achievements
Rank 2
 answered on 05 Jul 2011
2 answers
46 views
Hi,

Almost finished this project with the old controls (phew). The problem I am having can best be seen in the two images in this zip file.

Upon a return to search, the PageSize TextBox in the pager is not being displayed on load. However, as soon as the user clicks on any of the page links, the PageSize TextBox re-appears.

This is not a catastrophic result. But it does look unprofessional and I would like to resolve it.

If anyone recognises these symptoms, your assistance will be greatly appreciated.

Cheers
David
Top achievements
Rank 1
 answered on 05 Jul 2011
2 answers
115 views
Hi

I have a page called LocationSearch.aspx that has RadGrid that lists Locations. 

If you have one selected and you click an Edit button at the top of the page a RadWindow appears.

In it, a separate page called AddEditLocations.aspx that gives you a form populated with the selected locations details.

My RadWindow declaration looks like this.

<telerik:RadWindow ID="rwAddLocation" NavigateUrl="AddEditLocation.aspx" Title="Add/Edit Location" Modal="true" runat="server" Width="700" Height="600" /> 
            

The Edit button has an OnClick event that calls this javascript on the LocationSearch page.

function showAddLocationForm(){
    var win = $find("<%#rwAddLocation.ClientID %>");
    win.show();
    win.center();
}

This works a treat.

However, now that I am in the RadWindow's AddEditLocation page, I need to do 3 things.

1. I need to have an OnClick event that posts back so I can write to the DB.

2. Next, I need the RadWindow to Close

3. I need to LocationSearch page to refresh it's RadGrid to reflect data that may have changed during the edit.

Point 1 I have sussed. However I can't work out how this RadWindow can close itself or how it can get the parent page to refresh.

The reason we put the edit form in a separate page is that we need to reuse it elsewhere on the site. It remains an option that I may have to put the AddEditLocation.aspx form in the RadWindow on the LocationSearch page. We would rather not do that but if I had to be that way let me know please.

Any tips would be appreciated.

Brad

Brad
Top achievements
Rank 1
 answered on 05 Jul 2011
5 answers
108 views
On the top of my page is a ribbon bar, when I execute some code on the page that executes an ajax postabck without the whole page posting back as a resullt it blanks all the buttons on the selected tab, they do return if I switch tabs and go back to it though. I should also add that the ribbonbar is in my master page and the ajax requests occur in the content page.
Albert
Top achievements
Rank 1
 answered on 05 Jul 2011
2 answers
89 views
Hi, I noticed the ability the make big buttons has been added but only 65px or greater. How do you make a button say 45px in height?
Daniel
Daniel
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 04 Jul 2011
0 answers
54 views
Hi Team,

i am using Radtree and RadCombo(containing Radtree inside) in my project .some times when clicking on radtree or radcombo getting the following errror "message received from the server cannot be parsed".

i am using ajax setting in my project :
<telerik:AjaxSetting AjaxControlID="rdMasterAjaxManager" EventName="rdMasterAjaxManager_AjaxRequest">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rdcmbTreeview" />
                    <telerik:AjaxUpdatedControl ControlID="Radtree1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
when ever AjaxRequest is firing i am updating both the controls.

please help me.

Regards,
Naveen M



Naveen
Top achievements
Rank 1
 asked on 04 Jul 2011
5 answers
133 views
Hello,

Is there a way to shrink the gaps between the buttons (first, prev, next, last) and the numbers of the DataPager? I've looked at the DataPage.xxxx.css file, but couldn't figure out how to achieve that. Any help would be greatly appreciated.

Tri.
Pavlina
Telerik team
 answered on 04 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?