How to use sharepoint CSS in asp:gridview

Hello
How can I implement sharepoint css (blueone) with asp:gridview for header, footer, rowtemplate etc?
Avi

Hi, Avikumar
          Developer Toolbar is a recommended tool for UI and CSS design, also  you can check this for moss css style
          http://www.heathersolomon.com/content/sp07cssreference.htm
          And for displaying data with SharePoint style, you can use SPGridView instead of gridview. The SPGridView control provides a great alternative for displaying tabular data in SharePoint-based solutions.
          Here are some links for this:
          http://msdn.microsoft.com/en-us/library/bb466219.aspx
          http://blogs.msdn.com/powlo/archive/2007/02/25/displaying-custom-data-through-sharepoint-lists-using-spgridview-and-spmenufield.aspx
          Hope this can help.     
 Best Regards,
-Aaron

Similar Messages

  • How to use a CSS file  in a jspx page..

    I'm using JDev 10.1.3.4.
    I would like to know how can i use a CSS file in a JSPX page..
    there is this file: public_html\WEB-INF\temp\adf\styles\cache\oracle-desktop-10_1_3_4_0-en-ie-6-windows-s.css
    How do I make use of this is my jspx page?
    Also how do i use the style class in property inspector?
    What should be the path of "oracle-desktop-10_1_3_4_0-en-ie-6-windows-s.css"?
    Also please tell me what changes I have to make in all the other files like web.xml or adf-faces-config.xml.
    Im using web application template using (EJB,Toplink and JSF)
    Please suggest the detailed steps as I'm new to JSF.
    Thanks ,
    Shri

    under view put a new tag
    <f:view>
    <ui:script url="page.js"/>
    and thats it

  • How To Use a css File To Watermark A Report

    Hello.
    I am using Apex 4.0.1 and have a need to place a watermark (that is, a background image) over a report, both a "classic" type and Interactive Report.
    I have two questions about this.
    1) I've searched this Forum and found several good questions/responses about this subject. What I think is the most maintainable solution is to create a .css file and reference this file within the Template section of a copy of, say, the "Reports Region" template used by my application theme. And so, I made a copy of the "Reports Region" template and called it "Watermark Reports Region". I then created a very simple .css file called "bgimg.css" defined as:
    #REGION_STATIC_ID# {
    background-image: url(#WORKSPACE_IMAGES#menu_bug.png) !important;
    background-repeat: repeat !important;
    background-attachment: fixed !important;
    Note: For those that may not know, the "!important" clause is, in fact, a css defined clause used to tell the browser that it should give the associated option the highest precedence. This prevents my desired css option from being overridden by another css file. Frankly, I myself did not know this until after I saw it being used in several of the responses on this Forum and then read up about it.
    I uploaded this css file via the Apex "Shared Components -> Cascading Style Sheets" option. I also made sure that menu_bug.png is, in fact, among my workspace images.
    I also made sure that my "Watermark Reports Region" template contains the substitution variable "REGION_STATIC_ID" and that my actual report region has a value in the Region Static Id field.
    Within my "Watermark Reports Region" template, I tried to reference my .css file. This is where I think my problem is.
    I placed
    <link rel="stylesheet" type="text/css" href="#WORKSPACE_IMAGES#bgimg.css" />
    at the very top of the Template section in my "Watermark Reports Region" template.
    I then assigned my template to my Apex report. When I run my report, I see nothing.
    So, how does one reference this css file within the template?
    =================================================
    2) I tried using my css tags as an internal style by placing it within the "HTML Header" section of my application page. I used:
    <style type="text/css">
    #empreport {
    background-image: url(#WORKSPACE_IMAGES#menu_bug.png) !important;
    background-repeat: repeat !important;
    background-attachment: fixed !important;
    </style>
    I assigned a div tag to my report region header and footer that looks like:
    In Header: <div id="empreport">
    In Footer: </div>
    When I run the report, I do get the image. But it is surrounding the report. It looks like my report is "floating" in a sea of bug images.
    So, how can I get these images to actually appear within the report itself. In other words, I want the report itself to be "transparent" so as to allow these images to be seen within the report body itself.
    Thank you all for any help/advice/code example.
    Elie

    Elie
    Thanks for taking the time to post sufficient information to understand the problem. In future if you're going to such efforts you might want to use them to reproduce the problem on apex.oracle.com, which means you can share actual working (or more likely not working!) code. Please also always wrap code posted on the forum in tags<tt>\...\</tt> tags to preserve formatting and special characters.
    >
    I placed
    <link rel="stylesheet" type="text/css" href="#WORKSPACE_IMAGES#bgimg.css" />
    at the very top of the Template section in my "Watermark Reports Region" template.
    >
    According to the relevant HTML 4.01 and XHTML 1.x standards, <tt>style</tt> and <tt>link rel="stylesheet"</tt> elements should only appear within the <tt>head</tt> element of a document.
    This changes in HTML5. The new <tt>scoped</tt> attribute allows <tt>style</tt> to be used in a prescribed way elsewhere in the document, with the effect that the styling rules specified are only to be applied to the other descendant elements of that <tt>style</tt> element's parent (in the way you're trying to do here). I'd expect <tt>link</tt> with a <tt>rel="stylesheet"</tt> to remain restricted to <tt>head</tt> content in HTML5: off the top of my head I can't see a use case for referencing external stylesheets in a non-metadata context.
    That said, current browsers apply CSS regardless of where in the document it appears, and future HTML5-compliant ones will continue to continue to do so for backwards compatibility. For myself, when using XHTML 1.0 I'll continue to follow the only put <tt>style</tt> and <tt>link</tt> elements in the page <tt>head</tt>. When I get round to using HTML5 for real I'll follow the standards for that as well.
    I strongly recommend that you follow the standards and only put <tt>link rel="stylesheet"</tt> elements in the page <tt>head</tt>.
    >
    Note: For those that may not know, the "!important" clause is, in fact, a css defined clause used to tell the browser that it should give the associated option the highest precedence. This prevents my desired css option from being overridden by another css file. Frankly, I myself did not know this until after I saw it being used in several of the responses on this Forum and then read up about it.
    >
    Use <tt>!important</tt> only where it's actually needed. It's over-represented in this forum because Oracle changed the order of style sheet inclusion in APEX 4.0 and made it more difficult to override theme styles using CSS in the page HTML Header without modifying page templates.
    Try your styles initially without using <tt>!important</tt>, and also consider using the cascade to provide any necessary overrides by including your CSS after other style sheets.
    >
    I then created a very simple .css file called "bgimg.css" defined as:
    #REGION_STATIC_ID# {
    background-image: url(#WORKSPACE_IMAGES#menu_bug.png) !important;
    background-repeat: repeat !important;
    background-attachment: fixed !important;
    I then assigned my template to my Apex report. When I run my report, I see nothing.
    >
    Because <tt>#WORKSPACE_IMAGES#</tt> is not substituted in external CSS files: +{thread:id=986329}+
    If possible it's much better to locate image, CSS and JavaScript files externally on the file system. Otherwise you'll have to use the workaround suggested in that thread and include a <tt>style</tt> element in the page templates to specify the background image.
    When I run the report, I do get the image. But it is surrounding the report. It looks like my report is "floating" in a sea of bug images.Reports are descendants of their region containers and may be subject to additional built-in or theme styles that overrides that specified for the region. Your CSS selector has to specify the report element, not the entire region.
    So, how can I get these images to actually appear within the report itself. In other words, I want the report itself to be "transparent" so as to allow these images to be seen within the report body itself.I'd use a <tt>class</tt> attribute in the region template: this removes the need to use the <tt>#REGION_STATIC_ID#</tt> selector, and allows the CSS to go in the page <tt>head</tt> where it belongs. Add <tt>watermark-report-region</tt> in addition to any existing <tt>class</tt> values in the region template:
    <div class="borderless-region watermark-report-region" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>
      <div class="bl-body">#BODY#</div>
    </div>You may have to inspect the page source (use a web inspector like that found in Safari, or the Firefox+Firebug combo) to figure out what has to be overridden in the theme/templates you're using. This worked for an Interactive Report using theme 17:
    .watermark-report-region .apexir_WORKSHEET_DATA {
      background: #fff url(/i/menu/blank_app_32.gif);
    .watermark-report-region .apexir_WORKSHEET_DATA tr.even td,
    .watermark-report-region .apexir_WORKSHEET_DATA tr.odd td {
      background-color: transparent;
    }For a standard report you'll need to identify the selector required for the actual report element (equivalent to the <tt>apexir_WORKSHEET_DATA</tt> table) using the web inspector or from the report template. It would be a good idea to create standard report template(s) incorporating a <tt>watermark-report</tt> class on the report table to provide a simple selector for such reports.

  • How to use SharePoint Environment to save the text of an image in the DB?

    Hi All,
    I Don't know a lot about the SharePoint Environment, But I wanna that part who is talking about getting an image from a scanner, reading the text in it and save it as a text in the DB.
    Any one can help me about that? or give me a link to learn about what I need in it?
    Note: I'm using Oracle DB 10g.

    I had a few seconds I didnt think Id need again so I googled "connecting sharepoint to oracle" and got the following link for you which list steps how to connect sharepoint to oracle
    http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/8fa4ac8b-7e27-4b8f-ad12-f81d32ba7d2c

  • How to use Sharepoint Modal Popup loader in Sharepoint-Hosted Apps

    Hi,
    I have a requirement to use a modal popup as loader in SharePoint-Hosted Apps. I have used this like following-
    SP.UI.ModalDialog.showWaitScreenWithNoClose(
    'Please Wait',
    'while we retrieve...',
    '400',
    '600');
    But it does not work if we have "SP.Js" and "SP.runtime.js" included in the page. If we remove the mentioned script, then only modal works, but other functionality related to "Sp.Js" does not work.
    Please let me know if there is any solution for the problem.
    Thanks in Advance.

    Hi,
    Chk out this link also
    http://stackoverflow.com/questions/4015159/using-jquery-to-display-a-modal-please-wait-dialog-box-message
    http://bernado-nguyen-hoan.com/2012/04/23/how-to-close-sharepoint-modal-wait-screen-after-postback-when-page-is-in-dialog-mode/
    http://sharepoint.stackexchange.com/questions/24391/how-do-i-show-a-loading-div-when-opening-a-modal-dialog-from-a-customaction
    http://blog.collabware.com/2012/10/30/tips-tricks-sharepoint-2010-modal-dialogs/
    Thanks
    Jaison A
    http://infomoss.blogspot.in

  • How to use external CSS for standard items ?

    Hi,
    I would like to use my external CSS style-sheet for the standard items I add to my portal page.
    I build an UI template with a CSS-link to my css style-sheet, and I used this UI template for my portal page. But it seems that items cannot use this UI template CSS reference.
    Is there a way to use external CSS on standard items (text, url,...) ?
    Thanks for your help,
    Best Regards,
    JC.AUDARD

    Easiest way I find to do it is to drop your css file in the portal/images folder. Make a hidden html portlet on your template and link to /images/mycss.css. You can then use it for many items such as text, links, html portlets, etc.

  • How to use Sharepoint 2013 img file

    Hi,
    I downloaded Sharepoint 2013 as an img file. I am trying to install it on VMWare 5.1 which only accepts ISO files. How can I convert the img file to ISO or what other workarounds are available?
    I already tried renaming the file to ISO, but it didn't work.
    Thanks

    Hi WaelS,
    If you want to use img file in VMWare, you may need to convert the img file to ISO, as VMWare doen't support img file.
    Please do as the followings to convert the img file to iso:
     1. Unzip the files
     2. Open a command prompt (Start > Run > type cmd, press Enter)
     3. Browse to the folder where the unzipped files are (cd "c:\Windows ISO Files")
     4. Considering that you are in the folder containing the files command prompt, type
           copy /b file1+file2+file3+file4+file5 file.iso
     4a. Check that the files have no extension. If they have, the command changes to something like:
           copy /b file1.ext+file2.ext+file3.ext+file4.ext+file5.ext file.iso
     4b. If there aren't *any* other files in the folder, typing this should be enough:
           copy /b *.* dvd_file.iso
    If you still have question about the issue, I suggest you can post a thread in corresponding forum, you will get more helpful information from there.
    Best Reagrds
    Zhengyu Guo
    TechNet Community Support

  • How to use SharePoint Metadata in MS Excel

    Hi,
    I would like to use the metadata from a SharePoint library in an Excel file without a VBA scripts. How can I get these metadata into an Excel file?
    Thanks in advance.

    Hi,
    In MS Word we have the possibility to use a library's metadata by using "Quick Parts" and "Document Properties". Unfortunatly, MS Word is not very confortable in contrast to MS Excel. Therefore we are looking for a solution to use the metadata of a sharepoint
    library in an Excel sheet.
    For example: We have implemented a customized Excel file with calculated columns. This excel file should be a, lets say a measurement protocol.
    By creating a new document (Excel Template) we want to add only the measurements. The metadata shall appear within the template. (LookUps, Date, Responsible, ID, etc.)
    Export the data into an excel file is very redundant. Because you have the data inside the library and in the excel file. Copying, Sending, Renaming, etc.. I just was wondering why MS Word has this option and MS Excel not? Do you know how I can use those
    metadata from SharePoint? 
    Thanks in advance. 

  • How to use BPEL to integrate ASP scripts based on https authentication???

    Hello,
    We are trying to use BPEL to integrate with a third party tool. The information available is:
    1. URL https://***/***/***.asp
    2. parameter name "request"
    3. post XML request
    Can we achieve it using BPEL parterlink? If we can, can you help give some pointers how to do it?
    Thanks a lot!
    Wen

    Some general information on configure message-level security can be found here: http://download.oracle.com/docs/cd/E14571_01/web.1111/e13713/message.htm#g352961
    and http://download.oracle.com/docs/cd/E17904_01/web.1111/e13713/toc.htm
    Note that WebLogic ships with a number of policy files that can be found here: http://download.oracle.com/docs/cd/E14571_01/web.1111/e13713/message.htm#i244059
    The basic steps are outlined here: http://download.oracle.com/docs/cd/E14571_01/web.1111/e13713/message.htm#i210119

  • How to use SharePoint integration in Adobe Reader XI?

    Acrobat XI and Reader XI are now offering a SharePoint integration feature, supporting SharePoint 2010 and 2013.
    In 'Adobe Enterprise Administration Guide' there are some requirements mentioned for SharePoint, saying that there is a Acrobat License necessary for every client computer!
    Does that mean, that I can only use the SharePoint Integration in Adobe Reader with an additional Acrobat license?
    Has anybody tried this?
    Reagrds
    Hans
    Message was edited by: Hans-J. Dohrmann

    Not possible with Adobe Reader.

  • How to use sharepoint online lists in different subsites as a datasource to powerpivot

    My customer has sharepoint online + project online.
    As you might know each project has a site, and in each site there are lists with the same name on each site.
    We need a pivot table where we can aggregate all that list data, is this possible? Do I need powerbi, or can I do it without power bi?
    Can u guide me in the right direction?
    Follow me on Twitter
    levalencia Blog

    I opened a ticket with MS support on this.  They concluded that there is no means of scheduling an auto-refresh when you are aggregating more than one SharePoint list as your data source.  They recommended buying a third party product to accomplish
    this.  Below is the relevant text I received from MS tech support for my ticket....
    CAUSE: This is by design. The functionality needed for this is not currently implemented.
    RESOLUTION: We were able to find a 3<sup>rd</sup> party tool that may be able to schedule refresh for these
    reports (http://www.powerpivotpro.com/2015/02/introducing-power-update/)
    TROUBLESHOOTING:
    We assessed the report. It seemed that a Power Query data source needed to be created within Power BI, so we attempted to create that:
    We were prompted to create a default gateway, even though the data was O365 data
    We were only able to find references directly related to on-premise data sources and the default gateway
    We attempted to find a workaround for this particular situation. We attempted the following configurations:
    PowerPivot report populated by SharePoint lists
    Excel report implementing SharePoint lists with the Data tab
    Connecting the report to a SharePoint Document Library data source
    Using OData feed for report
    *All of the above configurations were unsuccessful
    Additional Information
    Even if a gateway could be created for the report, it would require Anonymous or Windows Authentication. O365 data sources require Claims Authentication.
    Scheduled refresh can be made for SQL Azure data sources. However, this would require configuring some type of automatic refresh for the SQL Azure data source itself to populate with the SharePoint list
    data.

  • ANN: article how to use the CSS Sprites method with the TIP technique

    http://www.tjkdesign.com/articles/how-to_use_sprites_with_my_image_replacement_technique.a sp
    Thierry
    Articles and Tutorials:
    http://www.TJKDesign.com/go/?0
    http://www.divahtml.com/products/scripts_dreamweaver_extensions.php
    - divaGPS - Add "you are here" highlighting to virtually any
    menu
    - divaFAQ - Create FAQ pages that toggle (show/hide) the
    answers
    - divaPOP - Easy, clean, standards-compliant popup windows.

    Sorry, no knowledge of FW themes, but it would seem easier to adjust the positioning code
    than to try redo your sprite image.

  • How to use an infopath form field in the designer workflow

    Hi,
    I need to send an email to a person field from Infopath form. Can i access it in the workflow. If not, is there a way i can send an email on form submission from within the infopath form.
    Please help. Thank you.

    Hi Prajk,
    There are three ways of achieving it, one i will say its pretty straightforward and covers the basic of Infopath Forms Development
    1)Populate Fields From Infopath Form at the time of Publishing.
    The moment you done with your form and to publish you click FIle>Publish>SharePoint Server >Enter the Url of Site> Then Click Next twice upto a point where wizard asks "The fields listed below will be available as SharePoint Columns" ,
    Click Add, select the placeholder in myfields for Person Field , expand the "person" group field and choose "AccountId", give the name to column(this will be SharePoint List Column Name) and for function select "first" and then
    click next and Finish.
    And use this field in Designer Workflow to send email.
    2)Second way is to write VSTA based C# code on click of your  Submit action on the form and upload and activate this form on form library via Central Admin.
    3)Now other way of doing this is via Event Recievers.
    Every infopath Form is an XmL File so on ItemAdded event you can extract its content and implement email sending c# code there:-
    http://www.bizsupportonline.net/infopath2007/how-to-use-sharepoint-event-handler-object-model-submit-data-infopath-form-sharepoint-list.htm
    Mark as Answer if helped!! To be or Not to Be..The question is this only......

  • ADFS and SharePoint Integration: How to use ADFS Roles?

    Hello,
    I've successfully integrated SharePoint with ADFS2 and users can login by ADFS. One of the claims mapping in ADFS and SharePoint is SAM-Account-Name->Windows account name.
    Is there any guideline how to grant a permission to an specific role? For example I want to grand read access to an specific list to a specific AD group called "ListReaders"
    A link to an online article explains how to use ADFS Roles in SharePoint would be a great help.
    Thank you,

    Hi Allan,
    According to your description, my understanding is that grant permission to ADFS roles.
    Please refer to “A Fellows” last suggestion to grant permission to ADFS roles in the link below:
    http://social.technet.microsoft.com/Forums/en-US/4d5ee453-1447-4d14-b297-33c27ef2c24d/permissions-using-adfs-roles?forum=sharepointadmin
    More reference:
    http://www.css-security.com/blog/claims-based-authentication-and-authorization-with-adfs-2-0-and-sharepoint-2010/
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • When building a vacation leave holiday system using SharePoint Foundation 2010 and SharePoint Designer workflows how can I add half day functionality?

    Hi,
    I have built a vacation leave holiday system for SharePoint Foundation 2010 using SharePoint Designer workflows and Javascript. Everything works perfectly but I'm struggling to design a solution for users to specify half day requests that span over dates
    greater than 1 day, i.e. my half day solution works but only when the start and end date are the same. How would I change the user interface to allow users to choose which day they want the half day to be requested when the vacation leave holiday request is
    from, say,  6th - 10th Jan 2014?
    Thanks.

    Hi ,
    I have a test on my machine with a custom approval workflow and it can work normally .Here are the detailed steps :
    1.      
    Open the site in SharePoint Designer .Create a workflow to associate with the document library .Set the workflow to start when an item is created and when an item is changed
    .Also allow the workflow to start manually .
    2.      
    Choose ‘Collect Data from a user’ .
    3.      
    Click on the data and give a name to the Task created .
    4.      
    Define the custom form field name as ‘Approve ?’ .Set the information type as Choice .
    5.      
    Set the choices as ‘Approve’ and ’Reject’ .Display as Checkboxes .Uncheck the ‘Allow fill-in values’ and ‘Allow blank values’
    .Click finish to save .
    6.      
    Click on users and add the users who will approve the documents .
    7.      
    Keep the output to variable as collect .
    8.      
    Add a new step .Choose ‘If any value equals value ’ .Set the any value ‘Data source’ as  workflow variables and parameters .Set the ‘Field
    from source’ as Variable: collect .
    9.      
    Set the value behind ‘equals ’ as ‘Approve’ .
    10.  
    Add a new action ‘Update list item ’ .Set the item as current item .Add the field Approval status as Approved .
    11.  
    Add an Else-if branch to update the Approval status as Rejected .
    12.  
    Publish the workflow and test in your site .
    Thanks,
    Entan Ming

Maybe you are looking for

  • Why do I get "error 6" message when porting my applicatio​n to XP?

    Hi, I've developed an application a few years ago, it is running on several pcs, now. This application reads from RS232, through a 232/485 converter, from a network of sensors, then writes all the data on disk. The pcs run Windows XP Pro. The app was

  • Need help with CS3 DW previews in Firefox 3.6.13

    I'm working in CS3 Dreamweaver & just updated Firefox to 3.6.13. Before I updated, I had no problem previewing websites in DW. Since I'm on a Mac & working on a Linux site, now I can't get previews on any browser but Safari (no Firefox, no IE). Help!

  • Barcoding AR Invoices

    Can anyone tell me if Oracle AR has the ability to produce barcoding on invoices. Or if there is a product that interacts with Oracle to produce barcoding??

  • Multihome 10.2.0.4.0 upgrade.

    We have a server running 5 instances at version 10.2.0.1.0, all sharing the same /oracle/product/10.2.0.1.0 directory. One of the clients want to upgrade their database to patch 10.2.0.4.0. But if I upgrade one database, and they all share the same p

  • Problem using PID toolkit and control design toolkit to design the closed loop system. (for DC motor closed loop)

    Hi, i have facing some problem during i upgrade a project. This project is an opened loop system, it only achieved up to controlling the speed of motor, detecting the speed of motor, and switching the direction of motor while controlling the motor (T