Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
299 views
Hi

I am using Updatepanel. when i click on My Grid Button and it display the RadUpload Control and then i will Upload the File and Grid is Bind and then i edit record at that time RadUpload control lost its Skin File.

Please let me know if you have any solution for this. this would be great help to me......



Thanks in advance,
Mayur Panchal

sbe
Top achievements
Rank 1
 answered on 05 Jun 2009
3 answers
227 views
It is really strange, I have a radsplitter (width=100%) and tow radpanes. Inside the second radPane, I use a radTabStrip. Inside the second radTab, I use another radSplitter (width=100%). It really strange, but when I display the page, the first tab is well displayed, but the second tab which contains the second radsplitter have a width very very big. And when I do a postback, the second radsplitter is displayed correctly (width=100%). I don't understand.

I would like to refresh the content of the second tab to resolve my problem. But I don't know how to do,

Thank you,

Suzi. 
Svetlina Anati
Telerik team
 answered on 05 Jun 2009
1 answer
72 views
Is there an easy way to get the entire collection of items after a user goes to another page of the gird? Or, do I have to iterate through the Databound items and make my own collection? Thanks

Daniel
Shinu
Top achievements
Rank 2
 answered on 05 Jun 2009
1 answer
186 views

You Can Disable Node Click On Parent Node On Server Side By Setting the Value of  PostBack to false then handle the level for node on node click event

 Example :

RadTreeNode Node = new RadTreeNode(Node Name Here, Node Value Here)  
Node.PostBack = false;  
tree.Nodes.Add(Node );  
 
//And on NodeClick Event We Do The Following : 
protected void tree_NodeClick(object sender, RadTreeNodeEventArgs e)  
{  
    if (e.Node.Level != 0) 
 
    {  
       //Your Event For Click Here  
    }      
}  
 
   
 
Karthik
Top achievements
Rank 1
 answered on 05 Jun 2009
2 answers
178 views
Hi,
I want to use RadControls to maintain some of my data. First, I am testing its fuctionality to see if it can do all I need to. I created a Web Application with a RadGrid as the major element. Everything works fine in the RadGrid except for column resizing. I am able to import my data from SQL Server and reorder the columns and filter/sort and all that good stuff. However, as hard as I try, I cannot seem to make the columns resizable. I tried copying the code in html as well as C# into their appropriate files, but it just isn't working. I don't know why. If someone could help me with this problem, it would be much appreciated. Thank you.
Dimo
Telerik team
 answered on 05 Jun 2009
1 answer
75 views
Hi,
I am using AjaxLoadingPanel with a farpoint control. Since, it was not showing the loading image, I tried to put the farpoint control inside a panel or div. Code below shows how I have implemented the loading panel.

<

telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px"

 

 

Width="75px">

 

 

<img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'

 

 

style="border: 0px;" />

 

 

</telerik:RadAjaxLoadingPanel>

 

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

 

<AjaxSettings>

 

 

<telerik:AjaxSetting AjaxControlID="ButtonViewColumnHeader">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="divSpread" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

 

</telerik:RadAjaxManager>

After loading the control, I get the clientID of the updated control written on my aspx page (just above the control) as shown below.

 
175782|updatePanel|ctl00_MasterContentPlaceHolder_ctl00_MasterContentPlaceHolder_divSpreadPanel|

Has anyone come across such a strange issue? Is there any way to get rid of this display?

many thanks,

Anu

 





Veli
Telerik team
 answered on 05 Jun 2009
1 answer
113 views
Hi,
When i use radgrid with a headertemplate with scrolling, then i get empty spcae above the scrollbar (so not in sync with the styles). It happens only with firefox and its due to style "margin-right: 13px" in the header <div>.

Can you tell me is there any property that i can set, or any fix for it?

My radgrid structure (if its of any help to you)

<radgrid>
  <ClientSettings>
     <MasterTableView>
        <CommandItemTemplate>
            <Columns>
                 <GridClientSelectColumn>
                     <HeaderTemplate>
                     <ItemTemplate>

regards,
Naresh
Dimo
Telerik team
 answered on 05 Jun 2009
1 answer
116 views
Hi I have a RadGrid with ObjectDataSource who binds to DataSet Table. It works...my Grid populates correctly. The I have FormTemplate for Updating/Insert new record. There I have 4 different RadComboBox controls.....with i populate with following DataBinding:

    protected void gwTeam_ItemDataBound(object sender, GridItemEventArgs e) 
    { 
        if (!(e.Item is GridEditFormItem) || !e.Item.IsInEditMode) return; 
 
        var child = e.Item as GridEditFormItem; 
        GridDataItem parent = child.ParentItem; 
        GridColumn col; 
 
        var season = child.FindControl("cbSeason") as RadComboBox; 
        var teamName = child.FindControl("tbName") as RadTextBox; 
        var playfield = child.FindControl("cbPlayfield") as RadComboBox; 
        var teamleader = child.FindControl("cbTeamLeader") as RadComboBox; 
        var category = child.FindControl("cbCategory") as RadComboBox; 
        if(season == null || teamName == null ||  playfield == null || teamleader == null || category == null) 
        { 
            Response.Write("Unable to find control"); 
        } 
        else 
        { 
            season.DataSource = dsAsk.Season; 
            season.DataValueField = "SeasonID"; 
            season.DataTextField = "SeasonYear"; 
            season.DataBind(); 
            col = gwTeam.MasterTableView.GetColumnSafe("Säsong"); 
            season.SelectedValue = col.ToString();// parent["Säsong"].Text; 
 
            teamName.Text = parent["TeamName"].Text; 
 
            playfield.DataSource = dsAsk.Playfield; 
            playfield.DataValueField = "PlayfieldID"; 
            playfield.DataTextField = "PlayfieldName"; 
            playfield.DataBind(); 
            col = gwTeam.MasterTableView.GetColumnSafe("Spelplan"); 
            playfield.SelectedValue = col.ToString();// parent["Spelplan"].Text; 
 
            teamleader.DataSource = dsAsk.TeamLeader; 
            teamleader.DataValueField = "TeamLeaderID"; 
            teamleader.DataTextField = "TeamLeaderName"; 
            teamleader.DataBind(); 
            col = gwTeam.MasterTableView.GetColumnSafe("Lagledare"); 
            teamleader.SelectedValue = col.ToString();// parent["Lagledare"].Text; 
            //teamleader.Text = parent["TeamLeaderID"].Text; 
 
            category.DataSource = dsAsk.TeamCategory; 
            category.DataValueField = "TeamCategoryID"; 
            category.DataTextField = "TeamCategory"; 
            category.DataBind(); 
            col = gwTeam.MasterTableView.GetColumnSafe("Serie"); 
            category.SelectedValue = col.ToString();// parent.DataSetIndex; 
            //category.Text = parent["TeamCategoryID"].Text; 
        } 
    } 

what i need is to get/set SelectedIndex or Value on the ComboBox controls based on value in the comparing column in the Grid??

I have read and tried different methods in Telerik Help library but nothing works.....yet.
Any suggestions??

Regards

//Ingimar Andresson
Yana
Telerik team
 answered on 05 Jun 2009
4 answers
160 views
Hi,

Can we use the RadText box to overlap in the same position?If it can,how can I make it?
Dimo
Telerik team
 answered on 05 Jun 2009
1 answer
860 views
I have a radgrid and i want to know the following

1. number of rows
2. number of columns
3. row of the item selected in grid
4. column of the item selected in grid

I have tried grid.column.count but it does not have that property?

Additional question:

I have a checkbox in the grid and i want the user to select only one checkbox...

i need to deselect the previous selected checkbox if the user will check another checkbox.

Is it possible to just find the column of the checkbox then uncheck all in the checkbox in the event "onmousedown"

since if its not possible im thinking to make a "for loop" and locate each cell for the checkbox.
Princy
Top achievements
Rank 2
 answered on 05 Jun 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?