|
I have an application that uses a reportviewer control.
On IE it works fine but in firefox and on certain laptops(actually on my client head's laptop ) it comes up to only 1/4 of the page.
The reportviewer head that is with the export to excel and zoom options takes the whole page only the area where the reports are shrunk to about 1/4 of the page..
Does anyone know what is the problem here...
I have done a lot o things but cant find any solutions,,
Any thanks is much appreciated..
Thanks in advance!
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
What is a reportviewer control?
If you're talking about that SQL Server Reporting Services control, the HTML it spits out is crap and looks appropriately crappy on everything that's not IE. There are ways to beat it into submission though. I'd start by checking the styles on the control itself - make sure you're not specifying pixel values for width or something. I'd follow up by asking in one of the .NET forums, since they might have a better clue how to get your hands on some good ol' fashioned control beatin' sticks.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
No its not the sql reporting..
the .net reporting thing.. using rdlc files..
I am not specifying the pixels at all all are in %.
Moreover, the reports being generated are a kind of template which it uses to render the report..So i cant do much of a change with that.
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
sidbaruah wrote: Moreover, the reports being generated are a kind of template which it uses to render the report..So i cant do much of a change with that.
Then you're screwed. Sorry...
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
ok nm...
Thanks for the reply..
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
Hi everybody,
Cam anyone guide me to a very good article on how to use advertising business in my website to earn money?
Basically, I am developing something very similar to a newspaper website, I want to earn money by providing advertisement areas, but I know exactly nothing about this business model.
I need information on this business model from developer's, customers', website manager's and users' points of view.
My adverts might be very similar to the adverts displayed here in the upper panel on code project.
Thanks
And ever has it been that love knows not its own depth until the hour of separation
Mohammad Gdeisat
|
|
|
|
|
|
Thanks for the answer
but mainly I am interested on how to include ads in my website without relying on third party plug-ins like google, I want also to know what are the ways to bill customers, and how to allow customers to display ads on my website, and what considerations must be taken into account during website design and deveopment.
In short, I want to know the whole cycle of this business model without including third parties like Google.
Thanks
And ever has it been that love knows not its own depth until the hour of separation
Mohammad Gdeisat
|
|
|
|
|
Thats a bit of a tall order for a forum. Much depends on what type of advertising you wnat to do, how YOU want paying etc etc.
There are numerous business models, some better than others, and what suits one person may not suit you. You need to do some research and decide how you wnat to proceed. There are plenty of articles available on Google.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
As I mentioned before, my website is very similar to newspaper websites (like bbc.co.uk), I don't know what business model best suites this kind of website, but I guess that a "pay per click" is a good candidate.
I am searching the web for tutorials and articles on this issue, but it seems that I am not too lucky to find an explanation on how to support ads on my website, its influence on web design and development, how to bill customers, etc.
I am looking for good links to such articles
Thank you
And ever has it been that love knows not its own depth until the hour of separation
Mohammad Gdeisat
|
|
|
|
|
For a "pay per click" model, you can implement it using a piece of server side script.
Create a script which takes a parameter specifying where to redirect to, and adds to a counter, so you know how many times it's been hit. Replace your advert links with links to the appropriate script, and Bob's your uncle. All you need to do is tally up the number of clicks at the end of the month, and send the advertiser a bill for it.
There are additional features that may be desired, such as statistical logging, keywords used, and various data integrity controls that ideally should be added - and your advertisers may want more data than a simple number.
Frankly - using an existing (well known) platform provides trust. If I were an advertiser, I wouldn't trust a custom system to bill me correctly unless I knew the owner well.
I'd really advise against reinventing the wheel here, unless it's part of your core business - and if it is, you'll need to do some good research.
|
|
|
|
|
Hi,
Thanks for your answer. Today I found some good articles on howstuffworks.com, they were really good introductions to ad-based business.
About trusting a custom system, you are 100% right, it is less likely for people to post ads on the website unless the website is 100% trusted and well-known, but on the other hand I don't want a third-party to cut 50% of my ads benefits - I want to optimize my business.
about additional features, those need a little bit more reading so I can understand how they work
Thank you
And ever has it been that love knows not its own depth until the hour of separation
Mohammad Gdeisat
|
|
|
|
|
Well I always figure that 50% of something is better than 100% of nothing, but you're right, they will take a cut.
What's worth doing depends on your business model and scale - but either way, knowing how stuff works is a good thing.
Good luck with it
|
|
|
|
|
You are 100% right. After developing my website I'll stick with Google's AdSense or something similar for a while, but when my website becomes more popular I'll start running my own Ad software, this seems to be a logical choice
Thank you again
And ever has it been that love knows not its own depth until the hour of separation
Mohammad Gdeisat
|
|
|
|
|
Hi all.
Do you know how we can combine this CSS code :
body {
background-color: #615a49;
color: #F4F5EF;
text-align: center;
margin: 0 auto;
min-height: 100%;
height: 100%;
line-height: 17px;
font-family: Tahoma;
font-size: 12px;
font-weight: normal;
}
.css_class1{
background-color: #988F81;
border-top-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-left-style: solid;
border-top-color: #F6F5F2;
border-left-color: #F6F5F2;
border-right-width: 1px;
border-bottom-width: 1px;
border-right-style: solid;
border-bottom-style: solid;
border-right-color: #333333;
border-bottom-color: #333333;
color: #000000;
}
|
|
|
|
|
What do you mean when you say that you want to "combine" the code?
Usually you combine something with something else, so what do you want to combine it with?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
I'm so sorry for my English. I'm new.
I'd like to reduce above css code.
For example we can write
background: #746c5e url('image/body.jpg') repeat-y center;
instead of
background-image: url('image/body.jpg');
background-repeat: repeat-y;
background-position: center;
Do you understand what I mean ?
I want to reduce this code like that :
css_class1{
background-color: #988F81;
border-top-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-left-style: solid;
border-top-color: #F6F5F2;
border-left-color: #F6F5F2;
border-right-width: 1px;
border-bottom-width: 1px;
border-right-style: solid;
border-bottom-style: solid;
border-right-color: #333333;
border-bottom-color: #333333;
color: #000000;
}
|
|
|
|
|
I see.
Like this:
css_class1{
background-color: #988F81;
border-top: 1px solid #F6F5F2;
border-left: 1px solid #F6F5F2;
border-right: 1px solid #333333;
border-bottom: 1px solid #333333;
color: #000000;
}
or like this:
css_class1{
background-color: #988F81;
border: 1px solid;
border-color: #F6F5F2 #333333 #333333 #F6F5F2;
color: #000000;
}
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
|
Be more clear as to what you are trying to achieve.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I'm so sorry for my English. I'm new.
I'd like to reduce above css code.
For example we can write
background: #746c5e url('image/body.jpg') repeat-y center;
instead of
background-image: url('image/body.jpg');
background-repeat: repeat-y;
background-position: center;
Do you understand what I mean ?
|
|
|
|
|
Well, what is wrong with the original?
background-image: url('image/body.jpg');
background-repeat: repeat-y;
background-position: center;
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I want to reduce this code like that :
Can you ?
css_class1{
background-color: #988F81;
border-top-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-left-style: solid;
border-top-color: #F6F5F2;
border-left-color: #F6F5F2;
border-right-width: 1px;
border-bottom-width: 1px;
border-right-style: solid;
border-bottom-style: solid;
border-right-color: #333333;
border-bottom-color: #333333;
color: #000000;
}
|
|
|
|
|
|
Mohammad Dayyan wrote: Can you ?
Sure, but can you? No point in me doing it for you (no financial reward for me) when you should be the one learning how to do it
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|