Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
196 views
Good Day,

I have this gridview which gets databinded with two rows(and two columns)

 <telerik:RadGrid ID="RadGrid3" runat="server" AllowAutomaticUpdates="False" AllowPaging="True" AllowAutomaticInserts="false">
                                    <MasterTableView EditMode="Batch" CommandItemDisplay=Top HorizontalAlign="NotSet" AutoGenerateColumns="False" DataKeyNames="Language">
                                        <BatchEditingSettings EditType="Cell" />
                                        <Columns>
                                            <telerik:GridBoundColumn DataField="Language" HeaderStyle-Width="210px" HeaderText="Language"
                                                SortExpression="CodeLang" UniqueName="Language" ReadOnly="True">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="Translation" HeaderStyle-Width="210px" HeaderText="Translation"
                                                SortExpression="Translation" UniqueName="Translation">
                                            </telerik:GridBoundColumn>


                                        </Columns>
                                    </MasterTableView>
                                </telerik:RadGrid>

As you can see batchediting is enabled and I have no problems anymore with that(I can edit the text on the current gridview)

My problem is when I update the gridview. It seems that I do not obtain the contents of the Translation column. I got an idea based on your documentation link http://www.telerik.com/help/aspnet-ajax/grid-insert-update-delete-at-database-level.html but I always get an out of bounds issue(because the control count is 0). I tried using e.Item.cells but still the string I input in the Translation column isn't being passed in the codebehind(it returns "" or nothing). Thanks in advance
Nelbin
Top achievements
Rank 1
 answered on 18 Nov 2013
1 answer
95 views
Hi,
I am using Rad Grid with batch editing feature. It contains GridTemplateColumn with item template as label and EditItemTemplate as drop down list. When I am selecting value in dropdown it shows me the selected value.
It works good in general scenario. 
But I want to show some dynamic information of cell value when user is moving mouse in image placed in same grid cell.
So I have PopupControlExtender to show dynamic help. 
Now when I am editing this cell new value is not display in cell.  

Any help will be appreciated.

Thanks,
Angel Petrov
Telerik team
 answered on 18 Nov 2013
1 answer
377 views
Hello,

I am using RadComboBox in my application. I have used Load On Demand feature when user scroll down in the list inside rad combo box. 
Its working fine. I have used check box true inside the list item. 

I have thousands of item in the list, So I have used Load on demand feature. I want use Search feature, so user can search by entering text in the combobox then they can find quickly particular records. for this things below is demo given by you...

http://demos.telerik.com/aspnet-ajax/combobox/examples/populatingwithdata/autocompletesql/defaultvb.aspx

My problem is that when I am entering text in the combobox, text is stays just 1 or 1/2 seconds after that text is disappearing from the combobox.

I have checked in the above demo url. You have not used Checkbox inside that list. When I remove checkbox from the list. Its working fine. I dont want to remove checkbox. As its a client requirement, I want to keep the selection of records from the list items.

Please help me here.. I have lost my 6-7 hours to fix this issue today, but problem is still there.
Please let me know what cause here.

Thanks,
Princy
Top achievements
Rank 2
 answered on 18 Nov 2013
1 answer
115 views
HI all i havea radcombo box, inside a templateform,  that only loads, data when i write something.
the problem is what to do load on pressing the dropdownbutton.
Or Loading data automatic, and selecting the value that previous was on the grid.

I see many places to use selectedvalue but for some reason it doenst apear on my options.

Help
Princy
Top achievements
Rank 2
 answered on 18 Nov 2013
1 answer
279 views

Hi there i have a radgrid on which i have to find a value and if the item is found then generate message

below is my code:

Protected Sub btnAdd_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnAdd.Click
        If IsAlreadyExist() Then
            ram.Alert("")
        Else
            If IsAlreadyAdded() Then
                ram.Alert("")
            Else
                employees()
            End If
 
 
        End If
    End Sub
and here is the IsAlreadyAdded mehtod in which iam trying to find a specific value in grid if it exists it will return false but FindItemBykeyValue isnt working.
Private Function IsAlreadyAdded() As Boolean
        'If rgListnk.MasterTableView.Items.Count > 0 Then
        Dim itm As GridDataItem = rg.MasterTableView.FindItemByKeyValue("DEFAULT", "Y")
 
        If IsNothing(itm) Then
            Return False
        Else
            Return True
        End If
 
    End Function
Thanks...

Princy
Top achievements
Rank 2
 answered on 18 Nov 2013
3 answers
321 views
I have a very odd problem with one of my RadGrids...

I initially had a problem where I couldn't type double quotes (") into the filter boxes in my RadGrid..  I could type any other character including single quotes (') in, but not doubles.

I eventually tracked it down to this line inside the ClientSettings tag for the grid :
<KeyboardNavigationSettings AllowSubmitOnEnter="true" EnableKeyboardShortcuts="true" />

If AllowSubmitOnEnter is false or removed from the code, I could enter double quotes.

Then I noticed that when I press the enter key inside one of my textboxes up in the filter row of the grid, the filter dropdown list for the column to the right was shown.  It has the same effect as if I'd clicked on the "Filter" icon next to the filter box in the adjacent column.  The list shows in the top left corner of the screen.

My custom code to show a new RadWindow still fires, correctly, but my client won't accept this as it stands..

I have attached a screenshot of what happens..
- Capture1.png shows whats on screen
- Capture2.png shows what happens when I hit Enter in the first textbox.

I will post a stripped down version of my page with as much removed as possible while still showing the problem.

If AllowSubmitOnEnter is false or removed from the code, I could enter double quotes, but this problem shows.  If I set AllowSubmitOnEnter back to "true", the problem disappears, but I can't enter double quotes into any of my filter textboxes.

Does anyone have any idea what or why this is happening..???

Thanks
Adam
Top achievements
Rank 1
 answered on 18 Nov 2013
1 answer
186 views
I used the example for the  Dynamic Tabs with Multipage project to create a tabstrip with multipages that load a scheduler on each tab. The Multipage creates the pageview on demand when the user clicks on the tab. If the tab page is already created, it shows it.

I need to pass some values in the URL to be picked up in the page. But, I can't figure out how to do it with the pageview. The pageview loads the page name into a control that is added to the pageview controls collection. If I attempt to include the parameters in the URL like this, "Appointments.ascx?S=123", it throws an error.

How can I handle this?
Steve
Top achievements
Rank 1
 answered on 18 Nov 2013
1 answer
90 views
The Live Examples:window/examples/clientsideevents
(My version is  AJAX Q3 2013 released 10/15/2013)
in "Dialog.aspx",I just replace asp Button with RadButton, the OnClientClicked does not work.
Here is "Dialog.aspx" code snippet whitch i added a  RadButton :

<table style="text-align: center; width: 250px;">
    <tr>
        <td>
            To provide an argument, fill in the value and click on "Close with argument" button
            below:<br />
            <br />
            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><br />
            <br />
            <asp:Button ID="Button1" runat="server" Text="Close RadWindow" OnClientClick="Close();return false;" /><br />
            <br />
            <asp:Button ID="Button2" runat="server" Text="Close with argument" OnClientClick="CloseWithArg();return false;"/>
            <br />
            RadButton1 is added by myself,but the OnClientClicked event does not work.
            <telerik:RadButton ID="RadButton1" runat="server" Text="RadButton" OnClientClicked="Close();return false;"></telerik:RadButton>
        </td>
    </tr>
</table>

Ray
Top achievements
Rank 1
 answered on 17 Nov 2013
5 answers
383 views
i'm following the demo here
http://demos.telerik.com/aspnet-ajax/combobox/examples/overview/defaultcs.aspx#qsf-demo-source

works well but when i set

CheckBoxes="true" EnableCheckAllItemsCheckBox="True"

the check box does not appear in the same line as each item row, instead it appears on top of each item (2 rows for each item, 1st row shows the check box, 2nd row shows the actual item). The total number of rows appearing in the dropdown becomes item count x 2.

[checkbox]
[item]
[checkbox]
[item]

What can I do to make the check box appear on the same row as the item?

Thanks for reading
Missing User
 answered on 15 Nov 2013
1 answer
140 views
Hi,

We are trying to the ShowSound property of the rad notification control. 

It works like charm on desktop browsers, but when we access the same web page from any tablet / smart mobile no sound is audible. We even tried the demo page on the devices but no sound. http://demos.telerik.com/aspnet-ajax/notification/examples/configurator/defaultcs.aspx

Could anyone explain why and how to enable the sound from devices?

Best Regards,
Nirmal
Dimitar
Telerik team
 answered on 15 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?