Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
260 views
Hi folks,

I'd like to show the today's date heading in a different style in the RadSchedulers Day view. I want to make it bold, align to the middle and change its color. Is it possible?

Thanks
Henry.
Princy
Top achievements
Rank 2
 answered on 22 Feb 2013
1 answer
84 views
Hi,

How can I get the appointment subject using JavaScript?

Please help,
Henry

Princy
Top achievements
Rank 2
 answered on 22 Feb 2013
2 answers
165 views
Hi,

I have a RadGrid with a templatecolumn which I create programmatically.

GridTemplateColumn templateColumn = new GridTemplateColumn();
RadGrid1.MasterTableView.Columns.Add(templateColumn);
templateColumn.ItemTemplate = new WorkflowStatusTemplate();

After performing an action in the grid (like sort or filtering) the content of the templatecolumn is empty.

Do I have to rebind the templatecolumn again after such an action?

Paul

Shinu
Top achievements
Rank 2
 answered on 22 Feb 2013
1 answer
110 views
Hi,

I am new to telerik and tried using a RadListBox in my application. One thing that bothered me a lot is that there is a border line around the buttons, on the top and right of the buttons (please see the attached picture). This line is not from the listbox since I set its border as "None". How to eliminate the line? Thanks.
Princy
Top achievements
Rank 2
 answered on 22 Feb 2013
1 answer
54 views
Hello Sir/Madam,

I have a custom Command Name "Select" and i am using Itemcommand event for this but now after Firing itemcommand event selectIndexChanged Event is Firing that i dont want Because I m using any other code in  selectIndexChanged event so how can i resolve this?

Thanks
Shinu
Top achievements
Rank 2
 answered on 22 Feb 2013
3 answers
509 views
Hi,
I have a grid in which there is template column with radcombobox in it.
Radcombobox has 4 items it in.
When user selects any item from list and then sort any column of grid, that selected value disappears.
I want to persist that combobox value and show it again as it was before sorting.
Please help me with this.
Shinu
Top achievements
Rank 2
 answered on 22 Feb 2013
1 answer
95 views
Can anyone help me? We have a asp.net webform, with two distinct RadGrid (version 2009), and the application should export the contents of these two RadGrids to the same Excel file.

Is it possible? Any idea?

Thanks a lot!

Carlos Mattos
Microsoft MVP, C#
Shinu
Top achievements
Rank 2
 answered on 22 Feb 2013
1 answer
102 views
heey 

I'm sorry for that question but somehow I have a blackout (I know its not a excuse ) but how can I retrieve the value from a RadNumbericTextBox using a button to sent the value (I need a int)

my code 
<div class="fromRowDiv">
                <asp:Label ID="label1" CssClass="fromLabel" runat="server" Text="From Date" ></asp:Label>
                <telerik:RadNumericTextBox ID="FromDateNumbericTextBox" runat="server" MinValue="2000" NumberFormat-DecimalDigits="0" NumberFormat-GroupSeparator="" ></telerik:RadNumericTextBox>  
                <asp:Label ID="Tolabel2" CssClass="fromLabel" runat="server" Text="To Date"></asp:Label>
                <telerik:RadNumericTextBox ID="ToDateNumericTextBox" runat="server" MinValue="2000" NumberFormat-DecimalDigits="0" NumberFormat-GroupSeparator=""></telerik:RadNumericTextBox>   
            </div>

code behind

protected void CalcButton_Click(object sender, EventArgs e)
       {
           AnnualVacationManager mng = new AnnualVacationManager();
           mng.CalcForNextYear(2000,2001);
       }

 and i need here where the numbers 2000 and ,2001 is the values from the RadNumericTextBox's 


i really apologize my question but plzz help thanks 
Princy
Top achievements
Rank 2
 answered on 22 Feb 2013
0 answers
219 views
I have a problem using the RadAsyncUpload control.  I have not been able to figure out how to allow the control to upload all files (ie., All Files (*.*)).  If I set anything in the "AllowedFileExtensions" property, or use any filters, then it only allows those files, which is to be expected, but setting a wildcard value in either one blocks all files.  If I leave those items unset then only certain files (mainly text files) are the only files that don't get block.

So my question is how do I set up the control so that I can upload any file?

Thanks for the help,
Josh

Edit: Well, I am sorry to waste anyone's time.  My problem was apparently a file size issue, not a extension filter issue.  Once I had that problem fixed, all files uploaded no problem when I left the "AllowedFileExtensions" blank, and added no filters.
Joshua Swain
Top achievements
Rank 1
 asked on 22 Feb 2013
1 answer
179 views
I have a page with two RadGrids.  The first grid allows you to add, edit, delete rows.  If you select a row, the second grid is updated to show data pertaining to the row selected in the first grid.  All of that works fine.  I have added a GridButtonColumn for the delete command in the first grid.  I make the control visible if there is no associated data in the second grid.  During the PreRender of the first grid, I call a stored procedure that returns data that I can use to determine whether the Delete control should be visible or not.  Unfortunately, that query is a long running query due to the sheer number of tables that have to be checked.  This causes the grid to take an exceedingly long time to run.  The query and tables have been tuned for the best performance.  It is simply a volume problem. 

If we filter the sproc by passing the id of the selected row, and call the sproc during the ItemCreated event, then the query runs quickly, however, that means were calling the sproc each time a row is rendered.  This is again impacting the database in a way we do not desire.

There are a few potential solutions to the problem.
1) throw away everything I've done and redesign the entire page.  As you can imagine, I'd prefer not to do that.
2) Do not hide the delete control at all and then  check to see whether it the row can be deleted when the control is clicked and notify the user that the row cannot be deleted.  Also not preferable.
3) IF there was a way to add a delete control to the GridEditCommandColumn and only display the delete control when appropriate, then we only have to call the sproc when the user clicks Edit.  But I don't see anything in the RadGrid documentation that would indicate that adding a delete control to the GridEditCommandColumn is even possible.

Any suggestions?

Thanks,
Darwin
Darwin
Top achievements
Rank 1
 answered on 21 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?