Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
101 views
Hello everyone,

I have a RadGrid with some columns. One of them is a combobox. Everything is working fine, there is just one funcionality I want to achieve and it's not working like I want it.

I want to explain to you what I want to do :
There is this RadGrid with data of the workers in a company. I can choose in the combobox which person it is. 
If I want to edit the existing data of this specified person I need the password of this person.
I am doing a password prompt with RadPrompt. On the buttonclick of the RadPrompt I have to check the password with the one of the person. So I need to know which ID this person has and that's the value of the combobox.

So when I right-click on a row an edit-contextmenu is showing. I want to get the value of the radcombobox from the row I clicked. But not the text, but the value.

Can somebody please help me?
Thanky in advance,
Esmi
esmyy
Top achievements
Rank 1
 answered on 01 Nov 2012
1 answer
66 views
Hi , i am new to Telerik and web development. I have write a page that it contain a button, tabstrip and multipage. When the button click, it will dynamic create a new radtab and radpageview which contain contenturl. However, when i create the second tab and so on, the multipage will only show the radpageview that just created, the rest of the other tab become blank. For example: when i click the button,
test.aspx page show on the radpageview. Then i click the button again,  test2.aspx page show, but test first tab which is test.aspx become blank. 

Is there any way i can create the tab dynamically without losing the previous tab and the pageview content? thanks

and here is my testing Code.

   protected void Button1_Click(object sender, EventArgs e)
        {
            RadTab rootTab = new RadTab();
            TabStrip.Tabs.Add(rootTab);
            rootTab.Text = TabStrip.Tabs.Count.ToString();
            rootTab.PageViewID = "RadPageView" + TabStrip.Tabs.Count.ToString();
            RadPageView newPageview = new RadPageView();
            newPageview.Width = new Unit("100%");
            newPageview.ID = "RadPageView" + TabStrip.Tabs.Count.ToString();
            newPageview.ContentUrl = "test" + TabStrip.Tabs.Count.ToString() + ".aspx";
            RadMultiPage1.PageViews.Add(newPageview);
        }
Nencho
Telerik team
 answered on 01 Nov 2012
8 answers
675 views
I'm trying to have a client-side event that uses the header checkbox in the GridClientSelectColumn to select all of the checkboxes for visible rows. The grids are all expanded by default.

My expected behvior: I check the header checkbox in the mastertable view, it checks every single checkbox that is under it in each gridtableview/detailTable

I feel like that should be a default setting anyway.
I have a RadGrid with a MasterTableView and 2 levels of DetailTables inside of it

MasterTableView
        DetailTables
GridTableView
DetailTables
GridTableView

I've looked around on the Telerik site, but the code snippets don't work or aren't necessarily for my problem. Is there a straight-forward way to do this? I feel maybe there's just a parameter I can set...

Thanks a lot.
Kyle
Top achievements
Rank 1
 answered on 01 Nov 2012
1 answer
82 views
How would I edit the text of the error message for the Copy button in the RadEditor? For example, when a user pushes the copy button without selecting any text in the editor first, the warning message they receive reads  "Please use Ctrl + C to Copy." I would like to change that text. Thank you in advance for your help.
Rumen
Telerik team
 answered on 01 Nov 2012
9 answers
420 views
Hi,

I am using Telerik Radgrid in my page.I am providing freezing
  facility to the columns in the grid. It is working fine in IE and Firefox but in Chrome it is not coming for the first time but when a postback occurs from then it is working.Can you please help me.

  <Scrolling AllowScroll="True" UseStaticHeaders="true" SaveScrollPosition="true" FrozenColumnsCount="1"> </Scrolling>

Thanks in advance.
Maria Ilieva
Telerik team
 answered on 01 Nov 2012
1 answer
59 views
 

I have a radwindow with a button that opens other radwindow. When I click the button to open the second RadWindow, this lost the skin and the information is not show correctly and the border and icons of the radwindow can wrong. This problem is only  IE.

<telerik:RadWindow ID="RadWindow1" runat="server" VisibleOnPageLoad="false"  Skin="Black"  >
<ContentTemplate>
<div>
<h1>TEST</h1>
</div>
</ContentTemplate>
</telerik:RadWindow


function AddNewDocument(sender, args)
{
var RadWindow = $find("<%=RadWindow1.ClientID%>");
RadWindow.set_modal(
true);
RadWindow.show();
}

        How can I force the second radwindow to use the skin="black" as is defined?
Marin Bratanov
Telerik team
 answered on 01 Nov 2012
4 answers
91 views
Hi

I've got a couple of HTML Charts on my page using the code below which is then databoud on page load.  If I view the application in debug mode from within Visual Studio (Windows 7, IE8) the page looks great.  However if I publish to the application server (IIS, Windows Server 2008r2) the page layout changes dramatically.  Please see the two images to demonstrate, can you advise what is causing this problem???

Cheers
Cliff

<div id="divPriceChangesChart" style="position:absolute; top:180px; left:0px; ">
    <telerik:RadHtmlChart ID="chartPriceChanges" runat="server" Width="250px" Height="300px" Skin="Metro">
        <ChartTitle Text="Price Changes" >
            <Appearance Align="Left" />
        </ChartTitle>
        <Legend>
            <Appearance Position="Bottom" />
        </Legend>
        <PlotArea>
            <Series>
                <telerik:PieSeries DataFieldY="NumberProducts" NameField="Period"></telerik:PieSeries>
            </Series>
        </PlotArea>
    </telerik:RadHtmlChart>
</div>
  
  
<div id="divAccessChart" style="position:absolute; top:180px; left:270px; ">
    <telerik:RadHtmlChart ID="chartAccess" runat="server" Width="250px" Height="300px" Skin="Metro">
        <ChartTitle Text="EPD User Access" >
            <Appearance Align="Left" />
        </ChartTitle>
        <Legend>
            <Appearance Position="Bottom" />
        </Legend>
        <PlotArea>
            <Series>
                <telerik:PieSeries DataFieldY="NumberUsers" NameField="Period"></telerik:PieSeries>
            </Series>
        </PlotArea>
    </telerik:RadHtmlChart>
</div>
Marin Bratanov
Telerik team
 answered on 01 Nov 2012
6 answers
220 views
I am trying to set up a client (or server) side expand/collapse settings for the tree view on File Explorer. Everything is working for the collapse, but my expand code is still having issues.

I tried first on the server side with 'fileExplorer.TreeView.ExpandAllNodes()', but during Page_Load the TreeView is null.

I then switched to trying on the client side. I was able to get the first level of nodes to expand, but then the ajax call prevented further expanding.

Here's my js code which expands the first level:
function treeExpandCollapse(t, b) {
    var nodes = t.get_allNodes();
    for (var i = 0; i < nodes.length; i++) {
        nodeExpandCollapse(nodes[i], b);
    }
}
function nodeExpandCollapse(n, b) {
    var nodes = n.get_allNodes();
    for (var i = 0; i < nodes.length; i++) {
        if (b) nodes[i].expand();
        else nodes[i].collapse();
        //nodes[i].set_expanded(b);
        // Recurse
        nodeExpandCollapse(nodes[i]);
    }
}

Since the client isn't aware of the subfolders until the ajax call returns, nodeExpandCollapse does not recurse. After I load all the folders using ajax, the collapse and expand buttons work correctly.

I thought that by attaching to the OnClientNodePopulated event of the treeview, I could determine that a node has been populated and then run it through the expander, but this event (using tree.add_nodePopulated()) does not fire at all when the tree is expanded, even doing a manual expand. My first thought is that the FileExplorer tie in is blocking my tie in (if I check get_events(), it shows two handlers for OnClientNodePopulated) but if anyone has any ideas it would be much appreciated.
Vessy
Telerik team
 answered on 01 Nov 2012
1 answer
42 views
Is it possible to achieve to get tooltips for both onmouseover and onfocus when using AutoTooltipify="true"?
Marin Bratanov
Telerik team
 answered on 01 Nov 2012
4 answers
419 views
I am trying to implement few things on Pie Chart how can i do that?
1. I want to assing the full pie chart as a value like
Total = The Whole pie Chart
and Used will be a part
so Total will be 100%
and Used will be 30 then the pie should so me as
Total 100 and Used 30%
Whole value of pie should be 100
I can only add items now.

2. How do i modify the position of the pie Chart,the margins of the chart diagram, the position of the legends through server coding.

Any help will be highly appreciated Please
Marin Bratanov
Telerik team
 answered on 01 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?