Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
384 views
Hello,

In a RadWindow I thought I had interpreted the documentation correctly and added the following code to replace the default menu icon in the title bar. It is behaving as though the image was not found (in other words no menu icon but my image doesn't show either) but that doesn't seem likely as the path works fine for other css url statements. I have tried both image types.
.RadWindow .rwShadow .rwIcon
{
     background-image:url(Images/Icons/Rockies.ico) !important;   
}
 
.RadWindow .rwShadow .rwIcon
{
     background-image:url(Images/Icons/Rockies.png) !important;   
}

Just a little nudge in the right direction would be greatly appreciated.
JB
Ramjet
Top achievements
Rank 1
 answered on 16 Nov 2011
5 answers
157 views
I try to use RadWindow for display of a confirmdialog that enables the user to say yes or no to a question. This window is placed on the page within a RadWindowManager. The problem is, that the content on the page is centered using a style on the form-tag. The content is always 1022 pixel wide and 720 pixel high, so the form-tag looks like this:

<form name="form1" method="post" action="default.aspx" id="form1" style="position:absolute;left:50%;top:50%;margin-left:-511px;margin-top:-360px;">

When the style is set like this, then all content of the form is centered in the browser, even if the user changes the size of the browserwindow. Unfortunately the RadWindow is only centered horizontally (nearly), The top of the Window is above the top of the content.

I think the problem has to do with the absolute positioning of the elements. Has anyone an idea how i can have the content centered in the browser window and also have the RadWindow centered within the content?
Marin Bratanov
Telerik team
 answered on 16 Nov 2011
1 answer
98 views
Hi
I want to have a RadGrid editable with these properties:
1- Add and remove Row in client side.
2- Enter value of each column in client side without saving anything in database still user click Save button.
3- Manage client side keypress such as press Tab button that cause go to next column or next row in RadGrid.

How can i have it?
Shinu
Top achievements
Rank 2
 answered on 16 Nov 2011
1 answer
81 views
I'm trying to achieve something like the attached file..
I took a quick look and I can't seem to find if this is possible with the telerik slider...Can anyone let me know if this is possible?
A Sample or demo would be greatly appreciated!

The requirement I'm looking for are ( please see attached screenshot)
1. Items are dynamically generated
2. Item should be directly under the marker
3. item can consist of images and texts
4. the slider itself using an image of my choice


Thanks

Slav
Telerik team
 answered on 16 Nov 2011
5 answers
163 views

I found a problem with the date components for some reason the system will never accept that I enter a date of any first Sunday after the 15th of the month of October every year.

When I enter one of these dates and move the focus out of the component, the system automatically switches to the previous day.

You can notice the issue even in the pages of the demonstration site:
RadDatePicker
http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/custompopup/defaultcs.aspx

RadDateInput
http://demos.telerik.com/aspnet-ajax/input/examples/raddateinput/firstlook/defaultcs.aspx

Calendar / Range Selection
http://demos.telerik.com/aspnet-ajax/calendar/examples/functionality/rangeselection/defaultcs.aspx

Dates with problems:
10/19/2014
10/20/2013
10/21/2012
10/16/2011
10/17/2010
10/18/2009
10/19/2008
10/21/2007
10/22/2006
10/16/2005
10/17/2004
10/19/2003
10/20/2002
10/21/2001
10/22/2000
10/17/1999
10/18/1998
10/19/1997
10/20/1996
10/22/1995
10/16/1994
10/17/1993
10/18/1992
10/20/1991
10/21/1990
10/22/1989
10/16/1988
10/18/1987
10/19/1986
10/20/1985
10/21/1984
10/16/1983
10/17/1982
10/18/1981
10/19/1980

Vasil
Telerik team
 answered on 16 Nov 2011
2 answers
366 views
Hi,

I created radcombobox dynamically. I want to add EnableLoadOnDemand functionality from codebehind. I need a sample of code in asp.net having this functionality doing from codebehind.

Thanks.
Ivana
Telerik team
 answered on 16 Nov 2011
1 answer
127 views
I am trying to set SelectedIndex -1 with the objective that I don't any item in the RadCombo to be highlighted. Whilst the debugger passes the line the next statement says SelectedIndex 0.

How to make the RadCombo not to select any particular item automatically?
Princy
Top achievements
Rank 2
 answered on 16 Nov 2011
2 answers
142 views
Hi

I have a radgrid that uses in place editing (EditMode = InPlace). The radgrid also allows the user to click a button to turn on the filtering by column.

I don't want the edit row and search rows to both appear on the grid at the same time because it might confuse people as they both look similar.

I've been able to remove the filter row when the add new record button is pressed, but I can't seem to do the reverse? The filter button turns on filtering using the ItemCommand event, it's here that I want to turn off the edit row.

Can anyone advise me on how to do this please?

Thanks
Corina
Top achievements
Rank 1
 answered on 16 Nov 2011
1 answer
95 views
I had a requirement to set my description field to the uploaded filename. I used the additional field example supplied by Telerik.
Here is how I set that value:

<telerik:radupload id="RadUpload1" runat="server" onclientadded="addTitle" onclientfileselected="uploadFileSelected" />

<script type="text/javascript" language="javascript">
    function uploadFileSelected(sender, args) {
        var currentIndex = sender._currentIndex - 1;
        fileNameTextBox = $get('<%= RadUpload1.ClientID %>' + 'Desc' + currentIndex);
        var inputValue = args.get_fileInputField().value;
        var fileName = inputValue.substring(inputValue.lastIndexOf("\\") + 1);

        fileNameTextBox.value = fileName;
    }

    function addTitle(radUpload, args) {
        var curLiEl = args.get_row();
        var firstInput = curLiEl.getElementsByTagName("input")[0];

        //Create a simple HTML template.
        var table = document.createElement("table");
        table.className = 'AdditionalInputs';

        //A new row for a Title field
        row = table.insertRow(-1);
        cell = row.insertCell(-1);
        var input = CreateInput("Title", "text");
        input.className = "TextField";
        input.id = input.name = radUpload.getID(input.name);
        var label = CreateLabel("Title", input.id);
        cell.appendChild(label);
        cell = row.insertCell(-1);
        cell.appendChild(input);

        //A new row for a Description field
        row = table.insertRow(-1);
        cell = row.insertCell(-1);

        input = CreateInput("Desc", "text");
        input.className = "TextField";
        input.id = input.name = radUpload.getID(input.name);
        label = CreateLabel("Description", input.id);
        //label.innerHTML = firstInput.valueOf;
        cell.appendChild(label);
        cell = row.insertCell(-1);
        cell.appendChild(input);

        //Add a File label in front of the file input
        var fileInputSpan = curLiEl.getElementsByTagName("span")[0];
        var firstNode = curLiEl.childNodes[0];
        label = CreateLabel("File", radUpload.getID());
        curLiEl.insertBefore(label, firstNode);

        curLiEl.insertBefore(table, label);
    }
</script>

Peter Filipov
Telerik team
 answered on 16 Nov 2011
2 answers
95 views
Hi, I wonder id it's possible to do, achive the following:
Having a filledFilter(filledFilter.png) and saving settings want to save only the structure (cleanfilter.png).

Thanks.
VitorBarao
Top achievements
Rank 1
 answered on 16 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?