I have a dropdown control inside a webpart, when user select different item from dropdown list it does not reflect. the selection remains on first item.
Strange... it works in dev and qa environment properly but not in production. dropdown has autopostback true. it is inside an asp Panel. and having some checkbox lists inside a table ....no other functionality. any !dea? all environment have SP 2010 installed
show us the code please.. It is a guessing game otherwise..
My gues is that you fill your dd inside page load event and do not check for postback there .. so you kind of rewrite it all the time . but why only on prod ... :)
Related
I have a created a custom user control which consists of 2 controls:-
Textbox
Listbox
The function of this control is to act as a dropdown list. Below is the image of the control:-
Problem
Now the problem i am facing is that if i insert this user control into a container control like a panel then the list gets hidden inside that container control.
and if i just create the user control outside the container control then it would interfere with the Tab Order (focus order) of the form.
Is there any work around where the user control exists in the container control and still shows the complete list without being hidden in the panel?
Edit i wrongly added c# instead of VB.NET
It can be achieved by having the list as ToolStripDropDown. Similar customization have been done in the following discussion,
Show control inside user control outside the boundaries of its parent
Hope this suits you.
I want to create a global button for all the entities.
I tried the following:
Created a sample solution with entity Application Ribbon
Opened the Application Ribbon Entity in Ribbon Workbench
Under Command Bar -> Home . Placed a button besides New Record
However after publish I am not able to view the button.
How do I resolve this?
The answer is from Mithilesh Kumar, and can be found on this page:
https://community.dynamics.com/crm/f/117/t/155542
You need to find the Group where you want to show the Button.
If you want to show on the Home Page for all Entity, find the Group as below and place the Button in this Group.
If you want to show in the Forms of all Entity, you need to place in the Group in the Form Area, shown below
Hope that clarifies
Modifying the XML you need to rely on the {!EntityLogicalName} keyword inside the location.
You can find a tutorial here:
http://blog.webfortis.com/adding-global-ribbon-buttons-for-all-entities-in-dynamics-crm
I am trying to remove the hover effect that brings up the checkbox next to the row item in SharePoint 2010 list item rows. Is there any settings that can make this happen? I would like to keep away from having to tinker with the CSS and javascripts. Please see illustration below. Thank you.
There are no settings for that sort of thing - the selection check box is a default behavior. You are going to have to modify the CSS, for that.
Use SharePoint Designer (Available Here]1) to help determine whitch CSS elements control that behavior, and make a custom style sheet to override it.
You can accomplish this by going to the Modify View option of your list and unchecking the Allow Individual Item Checkboxes under Tabular View options.
Note: If you are using a Web Part to view it you might have to set the view again for the changes to reflect.
I am constructing an ASP.NET Menu using an asp:XmlDataSource and setting the Data property and binding the Menu. Everything works well until I have to change the menu. For instance when I remove a menu item from the xml and set the Data to a new xml string and rebind the menu. The item is missing from the datasource but still shows up in the menu. I double check to make sure it is not a refresh problem by doing a Menu.FindItem with the path to the item , which still shows up in the menu. I have even opened the page in another bowser and the item still shows up, so it must be a server issue.
Is there some chaching on the server that needs to be reset or what am I missing?
I will solve my own issue.
The thread at: http://forums.asp.net/t/1239541.aspx/1/10 showed that the xmldatasource has the EnableCaching set to true by default, so even though I was changing the Data property the changes were never making it to the menu.
I am try to created a cascade dropdown using infopath 2010 in sharepoint 2010 list. On publishing infopath form i lost data binding setting and it just resets to default "Enter choices manually". It works perfectly only if i dont publish it (preview mode). I even recreated infopath form many times but of no use. It works perfectly on some other site but not on where i want to.
[note: Dropdown are lookup columns]
Check your form settings at dropdown box properties > Browser forms > Post back settings, make sure its set to Always.