DropDownList On telerik grid with inline Edit Option mvc - telerik-grid

I am using Telerik grid for mvc project , I want drop down list to be in the grid for four values , but I want first to choose the the dropdownlist to be present at inline edit mode and to be disabled at non edit mode
here is my bound statement
column.Bound(objUser => objUser.UserState)
.ClientTemplate(
Html.Telerik().DropDownList()
.Name("UserState<#= UserState #>")
.BindTo(new SelectList(ProjectTest.Controllers.UserController.UserStateList().ToList()))
.Encode(false)
.ToHtmlString().Replace("{", "{{").Replace("}", "}}")).Encoded(false)
.Title("User State");

I've been wrestling with this too. take a look at the link below, in which I asked the same type of question. In my case, I managed to get this working, but still have some questions about HOW I got it working. Anyway, I hope this helps ...
Telerik MVC Grid: How to use DropDownList in a column?

Related

How to implement PXFormulaCombo or Formula Builder control?

As per title. I need to customise AM207500 - Configuration Maintenance screen to add another custom field that will allow me to enter formula similar to QtyRequired field.
I got as far as displaying the correct dialog. But its missing the fields selection.
I believe I'm missing the OnRootFieldsNeeded property. But every time I try to edit the ASPX and manually add this. Its being cleared by Acumatica.
Am I in the right direction ? And how do I force this property in my ASPX ?
TIA
A bit unconventional, but have you tried updating the ASPX page on the custom pages and then clicking on the files section to update the file? This will then ensure the file update occurs before publish and hold the configuration

View Column Headers Fixed Using XPages

I need one help related to view panel column headers. I am using view panel to pull the data from SQL using JDBC Connection manager and displaying in view panel control using Xpages. I am displaying 500 rows at a time and when users trying to scroll the data the column headers are going scrolling up. So, now I need to fix all view column header should be fixed when the rows are scrolling up/down. Can anybody help me regarding this?
You can add that capability to an existing viewPanel with the jQuery.Thead plugin. There are only 2 steps involved:
Download the library and add it to your XPage/ application.
Activate the plugin for your viewPanel (or repeat):
x$("#{id:viewPanel1}").floatThead({});
(the x$ function comes from the ExtLib Bootstrap theme)
I've put together a small demo here:
http://bootstrap4xpages.com/bs4xp/demos.nsf/fixedHeaders.xsp
May be have a look at DataTables, for details to implement this in XPages see the blogs ofOliver Busse, http://oliverbusse.notesx.net/hp.nsf/blogpost.xsp?documentId=D5E
The easiest way will be to add viewStyle to your viewPanel and set it to 100%.
I hope this helps!

Filter Issue in Ext.Net Grid Panel

I am developing an application using Ext.Net, here in the Gridpanel I am facing problem with filters in it.
After I searched for the desired string in the filter the paging in the grid is not working properly and some times the filter option is appearing twice in the grid panel.
Why?
you should update your ext.net component. when I develop an application using string filter, there's no problem. and please describe more specify.

AllItems listview web page

I am trying to create a custom default view for a list. I made a copy of my list's AllItems.aspx page, and renamed it, and inserted a CEWP onto the page, as I would like to use jQuery to display a color in a column field similar to http://www.sharepointkings.com/2009/04/sharepoint-calculated-column-and-jquery.html. The issue I am having is that when I save my changes and check in the new page, SharePoint removes all of the web parts that were on my page.
Why is this happening, and how do I stop it from removing my webparts?
UPDATE: Still not definitely sure why, but I noted that it stopped doing this when I changed the filename to something different, instead of the default copied filename which I had been using before.
Rather than using a content editory query web part to change the color of an item, have you considered using conditional formatting which you can do via SharePoint designer?
Try this article for steps .. but I will also suggest you drop the idea of CEWP and use conditional formatting.
http://snahta.blogspot.com/2010/08/listview-from-other-site-collection.html

SharePoint 2007 - add additional menu to Global Navigation in a Master Page

In the source code for a master page, there is a section that has the following ASP.NET item: . This contains the "Welcome (User Name)" and Site Actions menus.
How do I create an additional menu that is similar to the look and feel of the Welcome menu? I've tried to create Front End HTML that behaves similar to the out of the box SharePoint menus, but it isn't quite right. I would prefer to utilize an ASP.NET or SharePoint control that acts similar to the SharePoint menu if that is possible.
For example, is <SharePoint:AspMenu> the appropriate control to use?
Thanks,
Robert
i am sure you will get better answer than this but just wanted to point what i have done to do this
i have added javascript library (JQuery) (for some other reason ) and when time come to do this thing i just added a JQuery code that creates another item in the navigation list with appropriate style and css class with the needed link and caption.
You could try another instance of the PersonalActions control with a custom GroupId. But when the control is rendered, it might also say "Welcome, [User]" just like the original.

Resources