hi,
I'm makking and visual webpart in sharepoint 2010 and having some problem with the style.I have added the layouts to a virtual folder in the sharepoint webapplication.
So now I can go to http://localhost/ig_common/2010clr35/styles and get and result.
Now my problem is how can i use it in my controls?So far I got this but it does not seem to work what am i doing wrong?
<ig:WebDataGrid ID="sfrmData" styleSetName="Default" runat="server" Height="400px" StyleSetPath="~/ig_common/20101CLR35/Styles" Width="100%">
<Behaviors>
<ig:Filtering>
</ig:Filtering>
<ig:Paging PagerMode="NextPreviousFirstLast">
</ig:Paging>
<ig:Sorting>
</ig:Sorting>
</Behaviors>
</ig:WebDataGrid>
Hello,
Have you configured Styles path in web.config of the web application? The following link will give you document where you will find more details on deployment in SharePoint:
<http://es.infragistics.com.es/uploadedFiles/WhatsHot/Sharepoint/Pomegranate%20-%20Configuration%20Document.pdf>
You may also want to exclude the configuration part which is specific to Pomegranate application from the document.
To debug this issue you may use a tool like Fiddler or Firebug to find out what requests are being made and the responses to those requests.
You can compare the test results with your projects configuration to wee why the styles aren’t being found.
Here is the link where you will find more details and downloads for these tools:
<http://www.fiddler2.com/fiddler2/ > <http://getfirebug.com/> Please Note: The above link is neither created nor maintained by Infragistics.
Hope this helps.
Thanks,
Bhadresh
hi Bhadresh,
Thanks for the help my problem was that I copied the styles from the infragistics styles in program files and not all default images are there. when you make and custom asp project and drag drop the control in the page it makes an ig_res folder with all the default images did not get that. copied the custom ig_res to my sharepoint virtual folder and everyting shows.
But got and other problem the scripts do not run.I have a webdatepicker when I click on the button nothing happens. Do I need to set something?
Thanks for your reply. The scripts are embedded in assemblies. To investigate this issue I need some more details:
1. Have you copied APTCA assemblies in the bin folder of the Web Application? 2. The behavior you described is specific to webdatepicker or the behavior is present with other controls also?
Please let me know so I may assist you further.
Shared calendar in WebDatePicker can be used only when datepicker is created not later than at Page.OnLoad. Since, WebDatePicker is used in user control (Visual Web Part) that is possible cause of this issue.
The workaround for this is to use WebMonthCalendar with WebDataPicker. <ig:WebDatePicker ID="WebDatePicker1" DropDownCalendarID="WebMonthCalendar1" runat="server"></ig:WebDatePicker><ig:WebMonthCalendar ID="WebMonthCalendar1" runat="server"></ig:WebMonthCalendar>
Hello Steve,
I have created private support case CAS-54236-4JWP6H in order to investigate this issue. I will update you through this private support case. I will update this forum once resolution is reached.
I'm using NetAdvantage 2010.1 clr 3.5
="d">
>
This is the code markup in my webpart
To investigate this issue please provides me with the version of NetAdvantage product you are using, markup of the WebDatePickers with relevant dependencies if any.
Bhadresh,
Hi Bhadresh,
Still got and problem with the controls they do not work on load only after a postback.if you look at the media clip I added you see my problem.
thanks
steve