Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
176 views
hello guys how radnotifacation popup alert chrome or firefox

sample :)

Example: Using Internet Explorer to access this site, please 
rdmptn
Top achievements
Rank 1
 answered on 28 Feb 2012
1 answer
143 views
Is it possible to replace the <a> elements inside the ConfirmTemplate (below) for Ok and Cancel with RadButtons ? : 

<a tabindex="0" id="confirmOk" name="confirmOk" onclick="$find('{0}').close(true);" class="rwPopupButton" href="javascript:void(0);">
                    <%= WebResources.SearchInOk %></a>
                    <telerik:RadButton ID="btn1" runat="server" Text="Test" />
                <a tabindex="1" id="confirmCancel" name="confirmCancel" onclick="$find('{0}').close(false);" class="rwPopupButton" href="javascript:void(0);">
                    <%= WebResources.SearchInCancel %></a>
Marin Bratanov
Telerik team
 answered on 28 Feb 2012
3 answers
118 views
Would you guys please consider adding a new property to all controls that have a DBValue or DBSelectedValue property? The new property would be called DefaultValue. Example use case:

We use the FormView control for the View/Insert/Edit of records. We use ObjectDataSource binding to Telerik controls inside the FormView. We pass an object (not fields) between the FormView and the ObjectDataSource. When in the insert mode, some Telerik controls such as RadDatePicker and RadNumericTextBox are bound to the object and set to null. Currently we have to set up a OnDataBinding event to set the default values for each control. It would be extremely helpful if we could just set a new property to the default value in this case.

Edited: I did find that we could set the Value property for a RadNumericTextBox and it would work as a default value on insert; however, other controls like checkbox don't.

Example:

<telerik:RadNumericTextBox ID="numPurchasedPrice" runat="server" Type="Currency"
DataType="System.Decimal" MinValue="0" MaxValue="100"  DefaultValue="0"
        DbValue='<%# Bind("PurchasedPrice") %>' >
</telerik:RadNumericTextBox>
Radoslav
Telerik team
 answered on 28 Feb 2012
1 answer
162 views
Hello,

how do i hide the RadGrid Filter row when the RadGrid is in editmode
Shinu
Top achievements
Rank 2
 answered on 28 Feb 2012
1 answer
102 views
Hi All,

I have a scenario where I have page with telerik grid and a ribbonbar. Some of the cells in grid has two values associated with them. One value is displayed in the cell and other value is hidden. The user will select a cell by clciking on cell of the grid and then click on a button in ribbonbar to launch a popup. The popup will be launched in the context of the cell. My requirement is to identify the cell the user has selected before clicking on the ribbonbar button and pass the hidden value associated with the cell to the popup. Can anyone please share your thoughts on how this can be implemented?

Thanks in advance.

Regards,
Prasad
Jayesh Goyani
Top achievements
Rank 2
 answered on 28 Feb 2012
3 answers
139 views
Hi, Actually I am working on a project for Blind ppl (they 'll not use mouse) n
using RadGrid in which a new Row can be added by controls in Footer Template and also all rows of Item Template are editable.
In Item Template I've TextBox, Combo etc. TabOrder works fine for first row(When no row added) but after adding new row data, TabOrder not working for new generated controls. Also Here I 'd like to say I have more than 2 Grids on same page and same situation in both. Does Grid Support TabOrder for inside controls.

Plz help.

Thanks in advance.

Sanjiv Kumar

i.e.

Name                     DOB                            Sex    
abc                        20-Feb-2012                Male                    Remove (LinkButton)
.
.
.

TxtName                dtPicker                        cboGender            Add (PushButton)

Antonio Stoilkov
Telerik team
 answered on 28 Feb 2012
0 answers
123 views
when i trying to resize an appontment after post back, its not working... by default, page loading we can drag or resize the appointment. but after post back resize not working well... 
this issue occurred in google chrome browser only i think. and i'm using version 15.0.874.106 m....

shinu rag
Top achievements
Rank 1
 asked on 28 Feb 2012
1 answer
242 views
Hi,

I have splitted an aspx page in 3 parts. A left pane and a content pane which is also splitted in 2 panes.

Here is a preview of the page :
Preview

1st issue : You can see that I have an Y scroll bar, within the radGrid which is not necessar. My radgrid and mastertableview's height and width are at 100%. Why Y scrollbar appears??


2nd issue : When I click on the splitbar in the left, my grid is not well resized. The selected row is not highlighted until the end of the grid whereas the grid take the full width of the pane. How come?

Preview2


Thanks for help






Princy
Top achievements
Rank 2
 answered on 28 Feb 2012
21 answers
544 views
I am with two textbox but wanted to make when one of them lose focus disables the other. this code works on components vb 2010 example:
$('#<%= RadTextBox2.ClientID %>').change(function (e) {

         var targetControl1 = $('#<%= RadTextBox1.ClientID %>');
         var targetControl2 = $('#<%= RadTextBox2.ClientID %>');

         if (targetControl1.val() == "") {
             targetControl1.attr('disabled', 'disabled');

         }


     });

     $('#<%= RadTextBox2.ClientID %>').focusin(function (e) {

         var targetControl1 = $('#<%= RadTextBox1.ClientID %>');
         var targetControl2 = $('#<%= RadTextBox2.ClientID %>');

         if (targetControl2.val() == "") {
             targetControl1.removeAttr('disabled', 'disabled');

         }
     });
     $('#<%= RadTextBox1.ClientID %>').change(function (e) {

         var targetControl1 = $('#<%= RadTextBox1.ClientID %>');
         var targetControl2 = $('#<%= RadTextBox2.ClientID %>');

         if (targetControl2.val() == "") {
             targetControl2.attr('disabled', 'disabled');

         }


     });
     $('#<%= RadTextBox1.ClientID %>').focusin(function (e) {

         var targetControl1 = $('#<%= RadTextBox1.ClientID %>');
         var targetControl2 = $('#<%= RadTextBox2.ClientID %>');

         if (targetControl1.val() == "") {
             targetControl2.removeAttr('disabled', 'disabled');

         }
     });
no works !
Vasil
Telerik team
 answered on 28 Feb 2012
1 answer
321 views
Good afternoon, all. I have an ASP Checkbox inside a GridTemplateColumn that is inside my main RadGrid. I have the autopostback set to true for each checkbox and when I click the checkbox the postback works, but it makes my radgrid refresh. Is there any way to prevent the refresh? I tried using an updatepanel inside the GridTemplateColumn and even surrounding the entire RadGrid but neither worked. Any help would be greatly appreciated. Thanks!

<Columns>
                    <telerik:GridEditCommandColumn>
                    </telerik:GridEditCommandColumn>
                    <telerik:GridBoundColumn DataField="GoalID" ReadOnly="true" Display="false" HeaderText="GoalID">
                    </telerik:GridBoundColumn>
                    <telerik:GridDateTimeColumn DataField="BeginDate" HeaderText="Begin Date" DataFormatString="{0:d}">
                    </telerik:GridDateTimeColumn>
                    <telerik:GridDateTimeColumn DataField="EndDate" HeaderText="End Date" DataFormatString="{0:d}"
                        EditFormColumnIndex="1">
                    </telerik:GridDateTimeColumn>
                    <telerik:GridBoundColumn DataField="GoalName" UniqueName="goalNameTextBox" HeaderText="Goal Name">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="WeeklyGoal" HeaderText="Goal Description" EditFormColumnIndex="1">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="TotalGoalHours" HeaderText="Hours Total per Goal"
                        Aggregate="Sum" FooterAggregateFormatString="Total Goal Set Hours: {0}" FooterText="Total Hours">
                    </telerik:GridBoundColumn>
                    <telerik:GridCheckBoxColumn DataField="GoalComplete" HeaderText="Goal Complete?"
                        EditFormColumnIndex="2" DefaultInsertValue="false">
                    </telerik:GridCheckBoxColumn>
                    <telerik:GridTemplateColumn DataField="GoalComplete" HeaderText="Goal Complete?" >
                        <ItemTemplate>
                            <asp:CheckBox runat="server" ID="GoalCompleteCB" Checked="<%# Bind('GoalComplete') %>" AutoPostback="true" OnCheckedChanged="goalCompleteCB_OnCheckedChanged" />
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>                    
                    <telerik:GridBoundColumn DataField="Task1" Display="false" HeaderText="Step 1">
                    </telerik:GridBoundColumn>
                    <telerik:GridCheckBoxColumn DataField="T1Complete" Display="false" HeaderText="Complete"
                        EditFormColumnIndex="0" DefaultInsertValue="false">
                    </telerik:GridCheckBoxColumn>
                    <telerik:GridBoundColumn DataField="Task2" Display="false" HeaderText="Step 2">
                    </telerik:GridBoundColumn>
                    <telerik:GridCheckBoxColumn DataField="T2Complete" Display="false" HeaderText="Complete"
                        EditFormColumnIndex="0" DefaultInsertValue="false">
                    </telerik:GridCheckBoxColumn>
                    <telerik:GridBoundColumn DataField="Task3" Display="false" HeaderText="Step 3">
                    </telerik:GridBoundColumn>
                    <telerik:GridCheckBoxColumn DataField="T3Complete" Display="false" HeaderText="Complete"
                        EditFormColumnIndex="0" DefaultInsertValue="false">
                    </telerik:GridCheckBoxColumn>
                    <telerik:GridBoundColumn DataField="Task4" Display="false" HeaderText="Step 4">
                    </telerik:GridBoundColumn>
                    <telerik:GridCheckBoxColumn DataField="T4Complete" Display="false" HeaderText="Complete"
                        EditFormColumnIndex="0" DefaultInsertValue="false">
                    </telerik:GridCheckBoxColumn>
                    <telerik:GridBoundColumn DataField="Task5" Display="false" HeaderText="Step 5">
                    </telerik:GridBoundColumn>
                    <telerik:GridCheckBoxColumn DataField="T5Complete" Display="false" HeaderText="Complete"
                        EditFormColumnIndex="0" DefaultInsertValue="false">
                    </telerik:GridCheckBoxColumn>
                    <telerik:GridBoundColumn DataField="Task6" Display="false" HeaderText="Step 6">
                    </telerik:GridBoundColumn>
                    <telerik:GridCheckBoxColumn DataField="T6Complete" Display="false" HeaderText="Complete"
                        EditFormColumnIndex="0" DefaultInsertValue="false">
                    </telerik:GridCheckBoxColumn>
                    <telerik:GridBoundColumn DataField="Task7" Display="false" HeaderText="Step 7">
                    </telerik:GridBoundColumn>
                    <telerik:GridCheckBoxColumn DataField="T7Complete" Display="false" HeaderText="Complete"
                        EditFormColumnIndex="0" DefaultInsertValue="false">
                    </telerik:GridCheckBoxColumn>
                    <telerik:GridBoundColumn DataField="Task8" Display="false" HeaderText="Step 8">
                    </telerik:GridBoundColumn>
                    <telerik:GridCheckBoxColumn DataField="T8Complete" Display="false" HeaderText="Complete"
                        EditFormColumnIndex="0" DefaultInsertValue="false">
                    </telerik:GridCheckBoxColumn>
                    <telerik:GridBoundColumn DataField="Task9" Display="false" HeaderText="Step 9">
                    </telerik:GridBoundColumn>
                    <telerik:GridCheckBoxColumn DataField="T9Complete" Display="false" HeaderText="Complete"
                        EditFormColumnIndex="0" DefaultInsertValue="false">
                    </telerik:GridCheckBoxColumn>
                    <telerik:GridBoundColumn DataField="Task10" Display="false" HeaderText="Step 10">
                    </telerik:GridBoundColumn>
                    <telerik:GridCheckBoxColumn DataField="T10Complete" Display="false" HeaderText="Complete"
                        EditFormColumnIndex="0" DefaultInsertValue="false">
                    </telerik:GridCheckBoxColumn>
                </Columns>
Princy
Top achievements
Rank 2
 answered on 28 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?