Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
128 views
I have a "rad slider" and when i click on "radslider item"  it navigate me to next page. all is working fine.

Problem: Now the problem is that when i click on item to navigate to next page ,
               on loading time my item on this page goes little bit down then navigate to next page.

So i want when i click on item ."it become fixed and don't move upon clicking" and smooth navigate to next page.
Tsvetie
Telerik team
 answered on 26 Aug 2009
1 answer
115 views
I don't know why my radDock doesnt show title bar at all.


            RadDock radDock = new RadDock();  
            radDock.DockMode = DockMode.Docked;  
            radDock.OnClientInitialize = "SetHandleDock";  
            radDock.DockHandle = DockHandle.None;  
            radDock.Title = lzContent.Title ;  
            radDock.UniqueName = Guid.NewGuid().ToString();  
            radDock.Width = Unit.Pixel(100);  
 
            radDock.ID = lzContent.LayoutZoneContentId.ToString();  
 
            //if banner  
            if (lzContent.LayoutZoneContentType.LayoutZoneContentTypeId == 1)  
            {  
                System.Web.UI.WebControls.Image img = new System.Web.UI.WebControls.Image();  
                img.ID = "radDock" + lzContent.LayoutZoneContentId;  
 
                radDock.ContentContainer.Controls.Add(img);  
            } 

When I look at the source code, it doesn't have titlebar like: 

<div class="rdSideBorders rdHTitlebar"><div class="rdTitlebar rdDraggable" id="RadDock3aa72894-86eb-41c4-8d5b-f9b2feabeddb_T" style="cursor: move;">
   <em class="rdTitle">Dock Title</em><span class="rdCommands" style="width: 38px;"><a title="Close" class="rdClose"/><a title="Collapse" class="rdCollapse"/></span>
  </div>

It just shows

<div class="rdSideBorders"><div class="rdContent" id="ctl00_cphLeftColumn_rptContentType_ctl01_50_C">
    <img style="border-width: 0px;" src="../../library/Company/32/6872.jpg" id="ctl00_cphLeftColumn_rptContentType_ctl01_50_C_radDock50"/>
   </div></div>
Pero
Telerik team
 answered on 26 Aug 2009
1 answer
59 views
Hi -

 I'm doing a trial of the the Telerik grid and want to know how to do the display data on the Grid;
 
I need to databind the grid (on the server side) to a IList<T> where T is a custom class. The grid does not display the data.

My Code is below

RadGrid.DataSource = <list>;

RadGrid.DataBind();


MS GridView displays the data from the same datasource.

Please advise  

Thanks
Kaushik
Shinu
Top achievements
Rank 2
 answered on 26 Aug 2009
1 answer
104 views
Hi,
      I am using Telerik Rad Grid. I have a requirement to make a cell editable to show a calendar from there when user single clicks on the cell. Will it possible using Rad Grid?

Thanks
Hemangajit
Princy
Top achievements
Rank 2
 answered on 26 Aug 2009
2 answers
94 views
Hi,

i have a problem, closing a FormTemplate after inserting data.
The data was inserted correct within the RadGrid1_InsertCommand. And afterwards correct rebinded (RadGrid1_NeedDataSource).

I also see the new insered row in the grid. But the Formtemplate stays open. (cleared)
I use the AutomaticInserts but don't have a datasource, the data was bind manually.

I tryed out 
MastertableView.ClearEditItems();
and
e.item.edit = false in the InsertCommand. Nothing helps. :-(

Some ideas out there?

Thanks in advance
Lars
Princy
Top achievements
Rank 2
 answered on 26 Aug 2009
1 answer
144 views
I am attempting to set the header text of a grid based on the language of the user.  The code is getting called, but the header text is remaining what was set in the design node.  The code is getting called in Page_Load.

I am calling the following line:

grdIssues.Columns.FindByUniqueName("StatusIcons").HeaderText= GetLocalization("Flags");

Any ideas?
Shinu
Top achievements
Rank 2
 answered on 26 Aug 2009
2 answers
435 views
Hi 
    I have used Terlerik Rad Control Q2 2008 version.
    I have binded grid & set EditMode="InPlace"  property for grid,
    I have used 
    

<

 

telerik:GridDateTimeColumn DataField="DateObtained" DataFormatString="{0:dd/MM/yyyy}"

 

 

HeaderText="Date Obtained" SortExpression="DateObtained" UniqueName="DateObtained">

 

 

<ItemStyle Width="15%" />

 

 

<HeaderStyle Width="20%" />

 

 

</telerik:GridDateTimeColumn>

   At the time of editing I would like to select date in dd/MM/yyyy format . Right now it's showing in MM/dd/yyyy.

Please give me your reply.

 

Trung Nguyen
Top achievements
Rank 1
 answered on 26 Aug 2009
2 answers
146 views
Hi,

i am new to telerik controls, and i am stuck with a problem.

i need to have a radgrid in which for certain columns on mouseover i need to show an image (something like a tooltip).
when i click on that image i update all the cells in that column with the value in this particular cell. 
Even this kind of behavior is limited to only 4 or 5 columns in the grid which has 10 to 16 columns.

i can find the way to format a column , and set the display style to image but i cannot find anything which is similar to what i need.
please help me out on this as i am stuck with this.

thank you for your help,
Sai.

sai raghavendra sudha besta
Top achievements
Rank 1
 answered on 26 Aug 2009
4 answers
172 views

Hi,

I have a RadGrid that has a GridClientSelectColumn to allow user to select one or more rows for processing on the server side. The problem I am having is that when I attach an oncommand client side function to the grid the selected rows stop returning to the server side.

The OnCommand function (See Below) intercepts the edit command and opens a new page with the details.

I am using RadControls for ASPNET AJAX Q3 2008.

cheers

Gavin

Grid

<telerik:RadGrid ID="rgExceptions" runat="server" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" GridLines="None" Skin="Telerik" OnNeedDataSource="rgExceptions_NeedDataSource" AllowMultiRowSelection="True">  
                <HeaderContextMenu EnableTheming="True" Skin="Telerik">  
                    <CollapseAnimation Duration="200" Type="OutQuint" />  
                </HeaderContextMenu>  
                <MasterTableView EditMode="InPlace">  
                    <RowIndicatorColumn>  
                        <HeaderStyle Width="20px" />  
                    </RowIndicatorColumn>  
                    <ExpandCollapseColumn>  
                        <HeaderStyle Width="20px" />  
                    </ExpandCollapseColumn>  
                    <Columns>  
                        <telerik:GridClientSelectColumn UniqueName="select">  
                        </telerik:GridClientSelectColumn>  
                        <telerik:GridBoundColumn UniqueName="id" DataField="id" HeaderText="#" AllowFiltering="False"></telerik:GridBoundColumn>  
                        <telerik:GridBoundColumn HeaderText="UR #" UniqueName="RefNo" DataField="RefNo">  
                        </telerik:GridBoundColumn>  
                        <telerik:GridBoundColumn HeaderText="Site Link" UniqueName="Sitelink" DataField="Sitelink">  
                        </telerik:GridBoundColumn>  
                        <telerik:GridBoundColumn HeaderText="Name" UniqueName="Name" DataField="Name">  
                        </telerik:GridBoundColumn>  
                        <telerik:GridBoundColumn HeaderText="Date of Birth" UniqueName="DOB" DataField="DOB">  
                        </telerik:GridBoundColumn>  
                        <telerik:GridBoundColumn HeaderText="Address" UniqueName="Address" DataField="Address">  
                        </telerik:GridBoundColumn>  
                        <telerik:GridBoundColumn HeaderText="Possible Match Count" UniqueName="PossibleMatchCount" DataField="PossibleMatchCount">  
                        </telerik:GridBoundColumn>  
                        <telerik:GridEditCommandColumn EditText="Details">  
                        </telerik:GridEditCommandColumn>  
                    </Columns>  
                    <PagerStyle AlwaysVisible="True" Mode="NextPrevNumericAndAdvanced" />  
                    <EditFormSettings>  
                        <EditColumn EditText="Details" UniqueName="EditCommandColumn1">  
                        </EditColumn>  
                        <PopUpSettings Height="450px" Modal="True" Width="750px" />  
                    </EditFormSettings>  
                </MasterTableView>  
                <FilterMenu EnableTheming="True" Skin="Telerik">  
                    <CollapseAnimation Duration="200" Type="OutQuint" />  
                </FilterMenu>  
                <ClientSettings>  
                    <Selecting AllowRowSelect="True" EnableDragToSelectRows="False" />  
                    <ClientEvents OnCommand="OnCommand" />  
                </ClientSettings>  
            </telerik:RadGrid> 

Javascript

function OnCommand(sender, args)  
{  
  var cmd = args.get_commandName();  
  if (cmd == "Edit")  
  {  
    args.set_cancel(true);  
    var grid = $find("<%= rgExceptions.ClientID%>");  
    var MasterTable = grid.get_masterTableView();  
    var row = MasterTable.get_dataItems()[args.get_commandArgument()];  
    var res = MasterTable.getCellByColumnUniqueName(row, "id").innerHTML;  
    window.open("UploadExceptionDetails.aspx?id=" + res);  
  }  
} 

Gavin
Top achievements
Rank 1
 answered on 26 Aug 2009
1 answer
135 views
I have a RadUpload on my page and a radgrid with the binary image column.  When the page load the binary images come through just fine.  When I upload the file and call the rebind method everything loads correctly except the image columns.  The grid knows what columns have data and don't because I set the visible property on itemdatabound to false if the value of the image is null but the lines that are supposed to have images do show a border just no images.

Anyone have any issues with this.

Thanks,
Todd Anglin
Top achievements
Rank 2
 answered on 25 Aug 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?