Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
88 views
Hello,

I have a radgrid that has a NestedView Template.  Inside that template I have a Placeholder which will be populated by a dynamically created control like a textbox or another radgrid, depending on some logic I have server side.  I would like to have Google-Like filtering in the nested grid, however I don't know how to do it since I don't have a declarative ID for the nested grid that I can use to reference it inside the javascript method needed for such filtering to work.  This is because, in addition that it is programatically created, the grid is also in the nested view of each item (or row) so it does not have an unique ID as would a declaratively declared control would have.

So, is there anyway I can reference such grid from the javascript method that is used in your examples of the Google-Like filtering, in order for such filtering to work on my nested grid?

Any help would be greatly appreciated,
Manuel
Sebastian
Telerik team
 answered on 29 Sep 2009
18 answers
500 views
Guys,

FYI: When trying to install Q1 '09 - 402 version on Visual Studio 2010 Beta 1 i got this error: "Visual Studio is not installed."

Best Regards,

Henrique
Ivo
Telerik team
 answered on 29 Sep 2009
1 answer
106 views
I would like to build a kind of matrix to edit data on a cell per cell basis.

The number of rows and columns will depend on some runtime user choices.
The content of each cell will also depend on these choices. It could be a checkbox, a combobox, some text or number entry, etc.
The type of content will be the same for all cells in one column.

Each cell will have to contain several pieces of data (value, underlying key, small number for optimistic locking, etc) which probably means I won't be able to return my underlying data to the page as a matrix but as a simple "flat" table and I'll have to build the grid cells myself on the fly...

Because I want to edit on a cell by cell basis, I don't want to switch an entire row in edit mode.
I'd rather have small "Edit" "Cancel" "Save" buttons in each cell.


Given that sort of (complex) requirement, would you use a RadGrid?

If the answer is "No" (as I suspect), what kind of control would you suggest, if any?


Thanks

Eric
Princy
Top achievements
Rank 2
 answered on 29 Sep 2009
3 answers
177 views
Hello, i have a simple continents/countries (parent/child) combo box pattern loaded from web service.
When i click the save button the postback occur and the page re-show. The selected items are selected in each dropdown, but no other items are present.

I've decide to do it manualy in javascript with client event and api using event such has "OnClientLoad", "OnClientItemsRequested" and javascript code such has sender.findItemByValue(currentValue), trackChanges, requestItems, commitChanges.

Any simplest way to do this?

Let me know if you want me to provide de complete source code exemple.
Datamex
Top achievements
Rank 2
 answered on 29 Sep 2009
3 answers
273 views
Hi,

Is there any way to edit cell on double click in grid. Whole row should'nt be in edit mode. Only cell should be in edit mode on which i am clicking. Also i don't want to display traditional Edit/Update/Cancel column in grid.

i am comparing RadGrid features with Intersoft WebGrid and i am stuck on this feature whether RadGrid support this or not.

Regards
Devanand Jha



Daniel
Telerik team
 answered on 29 Sep 2009
3 answers
183 views
Can i have a sample of a RadGrid created programatically and bound client side? Registering all scripts to page in order to get the client side databinging feature.

By the way i am facing similar issue when i have to register scripts for a filtertemplate using RegisterStartupScripts. Once i generate and register the script in server side , i dont need to use the radscriptblock because i dont need  <% %> tags because i already have the clientId at the serverside, but this does not work, seems like i cannot find a control using the registerStartupScripts. Any suggestions?

Thanks in advance

Gilberto
Iana Tsolova
Telerik team
 answered on 29 Sep 2009
0 answers
109 views
Hi,
Sorry for my bad english =(

I have asp.net WebApplication and i started to upgrade my App to Ajax technology with telerik components.
Biggest problem that in some pages all server events opens new window(sometimes blank). In some pages this problem was solved
after adding EnableEventValidation="false". But not all.
Currently i have page without any Rad Components and all PostBack open new window...
Please help/

P.S.: It's a dialog window. When some event fired, new window open and events on this window works fine.
Evgeny Stadnyuk
Top achievements
Rank 1
 asked on 29 Sep 2009
1 answer
133 views
Hi,

I am developing a web portal with a fixed number of widgets and templates. here docks are used as templates, with the option to drag and drop it from one zone to another. in this all the raddock controls except the RaddockLayout is created dynamically.

there is an option to create tabcontols dynamically. on creating a tabpage, a new Radpageview is also creaed and is associated with the new tab. After creating a tab and pageview, a Usercontol which contains a Predefined layout of RaddoxkZones is selected and is added dynamically to this pageview. Now, each tab contains a pageview,  which in turn contains a user control control whic is filled with 2-4 raddockZones.

The real issue starts here....

When I add a dock to this layout (dockzones contained within the user control), i want the docks to fill the entire area of the zone. For that I am setting the with of the raddock to "100%" . this works fine.. if I move to another tab page and do the same thing and come back to the previous page, the width of the dock is same as the width of the page. I havent given any width for the Raddockzones, as I am using a splitter control, so that if I collapse the splitter, the dockzones should keep expanding. Fitdocks property of the docks are set to true.

What i understand from this issue is that, if I perform any action which causes a postback, the entire docks in the tab page except in the one which is selected is not created properly crearted from its states, which is stored in session/database.

once again, all the docks in this page id created dynamically.

Can anyone help me with this issue.. looking forward for a solution at the earliest..

Thanks,

Ajish.
Pero
Telerik team
 answered on 29 Sep 2009
1 answer
118 views
I have a RADUpload on a page, at runtime its not rendered, all I get are the add and delete buttons, yet exactly the same markup on a different page shows the upload component.  Im not quite sure whats happened, but I also have a problem with the DatePickers on the same page, clicking the calendar icon doesnt show the popup calendar, it looks like the javascript isnt being activated

<div class="basic_row_admin_tabular">  
        <div class="two_col_left_short">  
        Poster  
        </div> 
        <div class="two_col_liquid">  
            <telerik:RadUpload  
                    ID="RadUploadImage" runat="server"   
                    Skin="Vista" 
                    MaxFileInputsCount="1" 
                    TargetFolder="~/Uploads" 
                    OverwriteExistingFiles="true"   
                    AllowedFileExtensions=".jpg,.jpeg,.gif"   
                    MaxFileSize="10000000"   
                    Culture="English (United Kingdom)" > 
        </telerik:RadUpload>    
          
        </div> 
        <div class="two_col_liquid">  
        <asp:Button ID="ButtonUpload" runat="server" Text="Upload"   
                CausesValidation="False" onclick="ButtonUpload_Click" /> 
        </div> 
          
          
        </div>   

can anyone help ?
Vesko
Top achievements
Rank 2
 answered on 29 Sep 2009
3 answers
123 views

Hi,

I am attempting to embed a RadCombo box in a grid for adding and updating items.

<WC:CustomDataGrid ID="dgDiscWorks" Runat="server" DataKeyField="disc_work_id" ClearNewOnCancel="true">  
                                                            <Columns> 
                                                                <asp:TemplateColumn HeaderText="">  
                                                                    <ItemTemplate>                    
                                                                    <%# Container.ItemIndex + 1 %>.  
                                                                    </ItemTemplate> 
                                                                </asp:TemplateColumn>                                                                 
                                                                <asp:TemplateColumn HeaderText="Composer">  
                                                                    <ItemTemplate><a href="ComposerDetail.aspx?composer_id=<%# DataBinder.Eval(Container.DataItem, "composer_id") %>" 
                                                                        ><%# ComposerName(DataBinder.Eval(Container.DataItem, "first_name"), DataBinder.Eval(Container.DataItem, "last_name")) %></a></ItemTemplate> 
                                                                    <EditItemTemplate><Combo:Composer id="dw_composer" runat="server" width="200px" FontSize="10px" /></EditItemTemplate>  
                                                                </asp:TemplateColumn> 
                                                                <asp:TemplateColumn HeaderText="Work">  
                                                                    <ItemTemplate><a href="WorkDetail.aspx?work_id=<%# DataBinder.Eval(Container.DataItem, "work_id") %>" 
                                                                        ><%# WorkTitle(DataBinder.Eval(Container.DataItem, "article"), DataBinder.Eval(Container.DataItem, "title")) %></a></ItemTemplate> 
                                                                    <EditItemTemplate><Combo:Work id="dw_work" runat="server" width="200px" FontSize="10px" /></EditItemTemplate>  
                                                                </asp:TemplateColumn> 
                                                            </Columns> 
                                                        </WC:CustomDataGrid> 

The problem is that everytime I attempt to click or type in the combo and it, consequently, attempts to retrieve the items from the database it throws a runtime javascript error. The combo's work fine retrieving the data outside the grid - it just happens on dynamic retrieval within the grid on edit/add.

Does any know why or have a solution please?

Many thanks, Richard
Simon
Telerik team
 answered on 29 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?