Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
149 views
Hi,

In my company we have multiple web sites (internal and external). And we use our custom skin created from one of your skins. Currently we have the same set of the css files and the images in each of our applications. I am wondering if it's possible to have them in the separate project and attach it to the solution.

Any suggestions are very appreciated.

Thank you,
Tatiana
Richard
Top achievements
Rank 1
 answered on 16 Feb 2012
1 answer
373 views
Is it possible to replace the checkboxes in a checkbox column with dropdown lists or any other control that gives more than just the "on/off" option?

I want most of the functionality of the checkbox column in that I have data that has a hierarchical relationship and if the parent item is checked, all the child items should be checked as well.   However, I need to be able to choose from more than just "on/off" as provided by the checkbox, I need to be able to select from 3 choices, hence the desire to replace the checkbox with another control such as a dropdown list.

I created a template column with a dropdown list control in it and figured-out how to set the dropdown list's value on databind.  However, I'm at a loss as to how to get the dropdown lists in the child rows to change to the same value as the parent.  I added a "SelectedIndexChanged" event handler to the dropdown list, but when that fires, I am able to work with the dropdown list that fired the event, but I don't have access to the treelist control and it's rows, so I don't know how to find the dropdown lists in the child rows.

So far, I've been manipulating the tree list control via server side code (C#) since this is a low traffic Intranet site, so posting back to the server isn't a big issue and I'm hoping that will speed-up my ability to deliver a working solution.

Any suggestions?
Todd
Top achievements
Rank 1
 answered on 16 Feb 2012
4 answers
202 views
Hi,

I have a RadGrid binded to a DataTable and I have a DeleteButton on each row that fires DeleteCommand event. But how can I get my current row values inside the DeleteCommand event?

Thanks
Casey
Top achievements
Rank 1
 answered on 16 Feb 2012
1 answer
104 views
Hi Telerik,

I have made a custom checkbox where i can bind the id(DatabaseID) from the database. I'm using this custom checkbox and other labels in a Radgrid where i dynamically bind the data from the database using a Webservice. Then i have a button who saves the values(in that row to the database) where checkbox is checked. The button need to do a server side postback to the database in order to save the values but onCheckedChanged is server side?  
<telerik:GridTemplateColumn HeaderText="Godkänn" ItemStyle-Width="50px" UniqueName="cChkbox">
     <ItemTemplate>
          <fw:CustomCheckBox DatabaseID='<%# Eval("ID") %>' runat="server" OnCheckedChanged="onCheckedChanged" />
       </ItemTemplate>
</telerik:GridTemplateColumn>


protected void btnAcceptHours_Click(object sender, EventArgs e)
        {
            List<string> AcceptHours = new List<string>();
            foreach (GridDataItem item in rgAvvaktandeTim.Items)
            {
                foreach (Control c in item.Controls)
                {
                    foreach (Control d in c.Controls)
                    {
                        if (d is CustomControls.CustomCheckBox)
                        {
                            if ((d as CustomControls.CustomCheckBox).Checked == true)
                            {
                                AcceptHours.Add((d as CustomControls.CustomCheckBox).DatabaseID);
                                goto ContinueOuterIteration;
                            }
                        }
                    }
                }
            ContinueOuterIteration:
                continue;
            }
The problem is that where in code behind(button) the checked status is always false. But i have tested this in the custom checkbox class that the checked status is changed so there is a loss somewhere..

Help please!

Thanks!
Andreas E



Richard
Top achievements
Rank 1
 answered on 16 Feb 2012
0 answers
70 views
Hi,

We have an requirement, where we have to add control's(RadPanelBar/Grid) on ajax call. But, we are unable to create a control(RadPanelBar/Grid) from codebehind on ajax call.


Please advice.



Naresh.
Naresh
Top achievements
Rank 1
 asked on 16 Feb 2012
2 answers
183 views
Dear Telerik Team,

In the RadGrid a tooltip 'Click here to sort' appears when we hover mouse over the header. When my application is localized to Chinese or German, how should I get this text also to be localized?
Deepak Vasudevan
Top achievements
Rank 2
 answered on 16 Feb 2012
2 answers
244 views
I have a modal popup window on my page using a RadWindow control. On the popup page I have a RadDatePicker control without a lot of space above or below it. When the calendar button is clicked the calendar popup displays below the control and causes the window to display scrollbars. I do not like this and since I have plenty of room on the right side of the control, I'd like to display the calendar popup over there. Is there some custom javascript I can use to display the calendar popup on the side instead of just above or below the control?

Thanks,
Dan
Daniel
Top achievements
Rank 1
 answered on 16 Feb 2012
2 answers
80 views
Hi,
I'm using your demo about MDI - http://demos.telerik.com/aspnet-ajax/window/examples/radwindowandmdi/defaultcs.aspx 

I open 2 windows (for view data (radgrid) and for edit)

I want to get a reference to RadGrid in the 1. window when I click on tab to open 2. window but I don't know how.
Next I want to get selected row from RadGrid, get some values from there and pass to the second window with url - there is no problem.
With one window there is no problem:

var grid = $find("<%= rgMain.ClientID %>");

I don't know how to do it in this online example
Thanks.

Marin Bratanov
Telerik team
 answered on 16 Feb 2012
1 answer
63 views
Hello,

I would like to have something like the demo for the "Related Combo Boxes" with the combo boxes in question being in an Edit Form Template.  Is this possible?  If so would it be possible to see an example in code?
Pavlina
Telerik team
 answered on 16 Feb 2012
3 answers
264 views

  we have found a issue that adding duplicate attributes to a perticular tag if src attribute is there.
it is occured when When I added following Java script
“<script src="¬test-test.js"></src>”  to an existing HTML content “<STRONG><FONT size=6 face="Courier New">test jayani<BR>
    <BR>
    &nbsp;<IMG title=test alt=test src="/CurrentCourse/logo.jpg">&nbsp;</FONT></STRONG>”

after adding those scripts and switching between design and html views it comes like this

<strong><font size="6" face="Courier New">test jayani<br>
    <br> <script src="¬test-test.js"></src>
    &nbsp;<IMG title=test alt=test src="/CurrentCourse/logo.jpg" originalAttribute="src" originalPath="/CurrentCourse/logo.jpg" originalAttribute="src" originalPath="/CurrentCourse/logo.jpg" originalAttribute="src" originalPath="/CurrentCourse/logo.jpg">&nbsp;</FONT></STRONG>
</body></script></font></strong>

here originalAttribute and originalPath attributes keep on adding to the IMG tag. This is happens when "MakeUrlsAbsolute" filter is on.  This will work as same for the java scripts as well.
Please take a look on this and do needful.

Thanks

Rumen
Telerik team
 answered on 16 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?