Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
115 views
Bonjour,
je débute en développement avec ASP.NET.
J'ai un RadGrid qui possède les colonnes suivantes
Code Description Chemin Dossier par Défaut

En mode edit je veux que la colonne Dossier par défaut soit TreeView, j'ai essayé de suivre les demo de telerik pour faire cela mais j'arrive pas a remplir le treeview.
Pour affichier le nom du dossier j'ai la table suivante 
Code_Dossier, Nom_Dossier, Dossier_Pere
Dans le treeView je veux mettre (comme d'habitue node.text=le nom de dossier, node.value=Code_Dossier).

Merci par avance
Iheb
Top achievements
Rank 1
 answered on 07 May 2013
2 answers
57 views
Hi,

I have an app which creates multiple panelbars at runtime dynamically.
When the user clicks a RadButton at the top, I want to expand all the items for the PanelBars.

How would I select the PanelBar's that I created dynamically? 
Is it better to do it from the Client Side using Javascript or the server side?

Thanks in advance.

Kevin
Kevin
Top achievements
Rank 1
 answered on 07 May 2013
2 answers
229 views
I have several AJAX RadComboBoxes (v.2013.1.417.40), on a browser form. In my style sheet I set the display to block. All the comboboxes are then displayed with a width of 2px regardless of the setting in the design window. Is there a way to do this?

css:
.rcbLabel
{
    display: block;
    color: seagreen;
}

rendered html:

<label for="ctl00_MainContent_uxVehicleMake_Input" class="rcbLabel">Manufacturer</label>
<table summary="combobox" style="border-width: 0px; border-collapse: collapse; width: 2px;" border="0">
    <tbody>
        <tr>
            <td class="rcbInputCell rcbInputCellLeft" style="width:100%;"><input autocomplete="off" name="ctl00$MainContent$uxVehicleMake" class="rcbInput radPreventDecorate rcbEmptyMessage" id="ctl00_MainContent_uxVehicleMake_Input" value="select a make" type="text">
            </td>
            <td class="rcbArrowCell rcbArrowCellRight">
                 <a id="ctl00_MainContent_uxVehicleMake_Arrow" style="overflow: hidden;display: block;position: relative;outline: none;">select</a>
            </td>
        </tr>
    </tbody>
</table>
Bruce
Top achievements
Rank 1
 answered on 07 May 2013
1 answer
146 views
Hy

I would like to use custom templates for the treenodes with two linkbutton. 
How can i use events for this buttons? 
I tried this, but it is not working:
protected void RadTreeView1_NodeDataBound(object sender, RadTreeNodeEventArgs e)
{
DataRowView nodeData = (DataRowView)e.Node.DataItem;
LinkButton rovat = (LinkButton)e.Node.FindControl("r");
rovat.Click += new EventHandler(LinkButton_Click);
e.Node.ToolTip = nodeData["folder"].ToString();
}
protected void LinkButton_Click(Object sender, EventArgs e)
  {    }

   
My template class:
class NodeTemplate : ITemplate
{
    public void InstantiateIn(Control container)
    {
        LinkButton linkR = new LinkButton();
        linkR.ID = "r";
        linkR.Text = "";
        linkR.CssClass = "r";
        linkR.DataBinding += new EventHandler(hypR_DataBinding);
        container.Controls.Add(linkR);
 
        LinkButton linkC = new LinkButton();
        linkC.ID = "c";
        linkC.Text = "c";
        linkC.CssClass = "c";
        linkC.DataBinding += new EventHandler(hypC_DataBinding);
        container.Controls.Add(linkC);
    }
 
    private void hypR_DataBinding(object sender, EventArgs e)
    {
        LinkButton target = (LinkButton)sender;
        RadTreeNode node = (RadTreeNode)target.BindingContainer;
        DataRowView nodeData = (DataRowView)node.DataItem;
        target.Text = nodeData["title"].ToString();
    }
 
    private void hypC_DataBinding(object sender, EventArgs e)
    {
        LinkButton target = (LinkButton)sender;
        RadTreeNode node = (RadTreeNode)target.BindingContainer;
        DataRowView nodeData = (DataRowView)node.DataItem;
 
        if ((int)nodeData["cikktemplate"] != -1)
        {
            target.Visible = true;
        }
        else
        {
            target.Visible = false;
        }
    }
}

Thanks.
Boyan Dimitrov
Telerik team
 answered on 07 May 2013
1 answer
51 views
I have a client reporting the async upload is not browsing to files on Windows 8 using FF 20, is there any known fixes for this using build v2010.3.1317.40

Thanks in advance
Hristo Valyavicharski
Telerik team
 answered on 07 May 2013
1 answer
105 views
Hi,

I have a button called "Generate" and it saves a file in to local disk. So I would like to upload saved file in to Asyncupload control at codebehind.

Please help me to solve this one.

Thanks in advance...
Hristo Valyavicharski
Telerik team
 answered on 07 May 2013
5 answers
346 views
Hi all,

I have a Radgrid where I use a GridButtonColumn to show the Edit Form Template but with the controls diabled. How could I acomplish this on the RadGrid1_SelectedIndexChanged event please?
Rawl
Top achievements
Rank 1
 answered on 07 May 2013
4 answers
226 views
Hi Telerik,
I have received your answer, but, I just can Closed it, because, there's no Reply button there. So, I create new thread to thank for your supportation and submit new bug, I think this is a bug.
The scenario likes this:

Update panel named UpdatePanel1 contains a RadScheduler named RadScheduler1.
Button1 is outside UpdatePanel1 and be trigged as AsyncPostBack from UpdatePanel1, when click, make RadScheduler1 change to AdvanceInsert mode
Button2 is outside all, and inside UpdatePanel2.

Run project as debug, set break point within RadScheduler1_FormCreated.
Click Button1, after AdvanceInsert form apprear, click Button2. You will be brought to FormCreated event of RadScheduler1.

This will make your application reload many times if there some load data event attach to FormCreated event, and make application run VERY SLOWLY.

I can't attach example to this thread, but everyone can download it from here: http://www.mediafire.com/download.php?zxrt2tijgul

Best regard,


Plamen
Telerik team
 answered on 07 May 2013
2 answers
108 views
Problem: Need to access values of controls for an insert item outside of RadGrid events. I will not have access to event arguments.

Scenario: User enters values into insert item row client-side, and then selects a grid-external button which will post back to perform complicated business logic. The business logic will access the values entered by the user, and will populate a cell based on entered user values.

Additional Notes: I have no problem performing similar functionality with edit items. I can simply grab RadGrid.EditItems to access the items (rows) I need.

Questions: Is the functionality described above possible? Can I access the values entered into an insert item in the code behind outside of the InsertCommand event?
Zachary
Top achievements
Rank 1
 answered on 07 May 2013
2 answers
48 views
Hi everyone, I'm kind of stuck. I built a web app in 2006 in asp.net 1.1 using the radcontrols available then. The app is still up and running wonderfully, thanks in great part to radcontrols.

I've just become aware that with IE 10, radedit doesn't work (doesn't let you edit). I can't afford to rewrite my app using the current radcontrols. The entire code is in Asp.net 1.1.

Any ideas?

Thanks!
Alain Rostain
Top achievements
Rank 1
 answered on 07 May 2013
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?