I'm trying to give users an ability to print asp.net gridview/listview report. Could anyone please guide me how it's best achieved?
Ability to export to Excel/PDF would be good as well.
Thank you in advance.
Set up a print stylesheet that strips out everything you don't want on the page.
Have a javascript print button for printing the page.
Job done.
Related
Hellow everyone,
I know I can export my dashboard thanks to the iframe link and to add to my web page. However, it is still possible through my web page to modify my dashboard. I would like to know if there is a parameter inside the url or something else that disables this feature. It would be great for me !!
Thank your for your attention and your help.
Joe
OK,
Go to kibana/src/ui/public/filter_bar/query_filter.js
search for queryFilter.addFilters function,
mark all function content as comment,
build and restart kibana
Use the link in following way
http://localhost:5601/app/kibana#/dashboard/My-Dashboard?embed=true&_g=(filters:!()
Basically embed=true in your URL will make it read only and remove all extra features.
I was wondering if anyone can help me out. I have an application with several links. One thing I have been noticing is that when a user clicks a link more than once I can get a response multiple times. This may result in a record being committed to a database table multiple times and cannot happen. From what research I've done, it looks like this is an example of when I would use SynchronizerToken's but this is new to me and i have no experience using them. I did find this example: Button doing post back of one user
Is this method the best possible one to use for this scenario? I haven't really seen any other examples out there. Any help would be great.
Thanks
How about disabling the UI element right before postback so multiple clicks are not possible?
I ended up scrapping the idea of tokens and just disabled forms when a post back occurs.
MobileSafari.app doesn't have accessibility labels
is there a way to capture (record) events so that i can use in the javascript for UI Automation?
there was a previous post which made that statement but didn't provide any instructions as to how to record using the javascript editor
details please
thank you in advance!
Just open a new script in your Instrument session, and push the little record button at bottom of the page (appears on the screenshot). Now use your app and you should get that kind of stuff:
Now you can see the value or the name of your buttons and use it to write your own scripts. I'm not a programmer, so this tool is very useful for me.
Hope it will be for you too. :)
First print the element hierarchy on any object you want and you can access the elements through indexing.
Ex:
target.logElementTree();
I have have a calendar web part that I am displaying on an anonymous SharePoint page.
I would like to be able to make all the links in that web part inactive.
Right now, when I click something it takes me to the login page.
Can't have that, boss doesn't want them to see that page.
So I'd like it if I could just have it do nothing when they click on these links.
Is there a way to deactivate all the 's in just the web part ? (I am thinking CSS)
Or does anyone know another way to do it? Is it possible for me to put some kind of a layer over top of the web part that would essentially intercept or block the clicks?
Thanks for your time!! I am really desperate right now, this was due yesterday
Thanks,
John
you should see if you can do it via CSS or JQuery.
$(document).ready(function() {
$('CLASS OF WP').find('a').hide();
});
Also if you render links from code behind using asp:HyperLink control, you can disable them
then
myLink.Enable = false;
I am using asp.net and C#.
I have a image control, I want that people can tag that image[similar to facebook]. As I want to save the tag cordinated into the datbase, so that the admin can see the tags made by the user on the image. Please let me know how can I achieve this in asp.net with JQuery.
Thanks in advance.
Yes. Its possible to create facebook like tagging in asp.net
See the examples here
and here