|
Hi All
I placed report viewer in my aspx page. in the run mode it is accupying full page.
I am passing parameters to the report from another aspx page
I need to put a back button in the page so when I click that button it should take me to the prevouse page from where I am passing the parameters.
Can any body help how can restrict the report viewer in the aspx page.
Regards
Shashank
|
|
|
|
|
hi
i think u have set the property of
crystalreportviewer.displaygrouptree = true
just set it to false
and u can put back button on same form where u have put the report veiwer
all the best
|
|
|
|
|
Hi Laxmikant
Thank you for your reply.
I think the code you have given is for Crystal reports
I am using Microsoft reporting services and I would like to decrease the width of the document map but don't want to supress the document map.
Regards
Shashank
|
|
|
|
|
Hi All
I am using the reporting services from couple of days.
the document map width is 25% in the screen size. I was trying find a option to decrease the width of document map but I was unable find the option.
Can any body help to decrease the document map width
Regards
Shashank
|
|
|
|
|
hi all,
i am writing a custom server control for asp.net and i need to implement some javascript to replace a hidden div with a div that is already visible then set the replaced div to visible.
at the moment it is working but when i simply toggle visibiity the div is not displayed at the same position within its parent div
this is my javascript include.
function ShowPanel(panel)
{
for(var i = 0; i < resources.length; i++)
{
var res = resources[i];
var obj = document.getElementById(res);
if(obj)
{
obj.style.visibility = 'hidden';
}
}
panel = document.getElementById(panel);
if(panel) { panel.style.visibility = "visible"; }
}
and this is my output for the javascripts vars
<script type="text/javascript">
<!--
var resources = new Array('ToolbarStart', 'ToolbarBackground', 'ToolbarEnd', 'ToolbarSeperator', 'ToolbarHome', 'ToolbarCopy', 'ToolbarDelete', 'ToolbarFolderUp', 'ToolbarMove', 'ToolbarNewFile', 'ToolbarNewFolder', 'ToolbarRename', 'ToolbarUpload', 'ToolbarDownload', 'ToolbarZip', 'ToolbarAbout', 'ToolbarSettings', 'ToolbarSaveAsXml', 'ToolbarPrintStructure', 'ToolbarFileSystem');
var useTransitions = true;
and this is the divs i want to replace with each other
<div id="ActionsPanel">
<div>
<div id="ToolbarUpload" style="visibility:hidden;top:5px;left:5px;z-index:3;">
blah blah blah
</div><div id="ToolbarDownload" style="visibility:hidden;top:5px;left:5px;z-index:4;">
blah blah blah
</div><div id="ToolbarRename" style="visibility:hidden;top:5px;left:5px;z-index:5;">
blah blah blah
</div>
</div>
</div>
any help please?
regards,
g00fy
|
|
|
|
|
Use display instead of visibility. Making an element invisible doesn't remove it from the page flow, it will still take up space.
---
b { font-weight: normal; }
|
|
|
|
|
thanks guffa,
i knew that but forgot it, just needed a kick in the head to remind me.
g00fy
|
|
|
|
|
g00fyman wrote: just needed a kick in the head to remind me
Glad to be able to kick you.
---
b { font-weight: normal; }
|
|
|
|
|
need to design a server & intercept info in the dll to interact with a database.
is there a way to do that? for instance, where can i trap packets sent by a web user to the server? any modification in the dll required?
how can we get the session id of web client from server end?
|
|
|
|
|
hi
I am using IE Web Controls Tree View,I want to add and Remove the Nodes dynamically through javascript,can any person help me .Please give response in ASAP.
te
|
|
|
|
|
There's no such thing as a Tree View in a web page. Do you mean a Table?
|
|
|
|
|
|
Thanks,the link given by you helped a lot
te
|
|
|
|
|
I have this little code block in a user control:
function initAjax(params)<br />
{<br />
alert("initAjax begun...");<br />
<br />
ajx.AjaxRequest(params);<br />
}
When I load the control, I get a " Compiler Error Message: CS1002: ; expected" in the temp class that is generated for the control. The line that causes the error is:
#line 23 "http://localhost/WIP_Control_Layout/Common/Controls/Doc_Brief.ascx"<br />
ajxDoc_Brief.ClientID
I would have thought the compiler would emit the comment symbols as well, preventing the buggy javascript statement from causing an error. I understand the compiler ignoring HTML comments for script, but shouldn't it keep comments that are part of the script?
|
|
|
|
|
The Javascript code is not parsed on the server, it's treated as plain text. The server executes the server code regardless of what the surronding text (Javascript) looks like. The server doesn't skip that piece of server code, as it doesn't even know that it's inside a Javascript comment.
---
b { font-weight: normal; }
|
|
|
|
|
Have you tried using the C++ style comments, "//", instead of "/*..*/" type comments.
|
|
|
|
|
I've tried both. As Guffa says, its the server code that causes the issue, not the javascript.
|
|
|
|
|
Not sure if is a programming question...
I'm researching about Web Crawlers[^] and theirs User Agents[^].
Do you use some automated tech to detect if some visitor is one WebCrawler? Or do you maintain one list of bot's user agents and compares with?
Fun fact: the asp.net has a property HttpBrowserCapabilities.Crawler[^] what is "true if the browser client is a search engine; otherwise, false. The default is false." but, of course, never works...
Regards
-- modified at 8:57 Monday 30th October, 2006
Jesus is Love! Tell to someone!
|
|
|
|
|
Clickok wrote: Do you use some automated tech to detect if some visitor is one WebCrawler?
And, more important, why?
|
|
|
|
|
Daniel Turini wrote: And, more important, why?
Why in traffic reports and ad tracking I need separate bots and human visitors...
Jesus is Love! Tell to someone!
|
|
|
|
|
Dear All,
(PHP/MySQL)
In my table have record more than 40000 rocords (all are pictures)and i have a search page when i start to search it work so slow and stuck, sometime the time is out.
Do you have any idea to help me? please help me.
Thanks you alot.
From:
Chanhan
|
|
|
|
|
How are you searching if they are all pictures ? What are you searching on ?
Hy Chanhan wrote: Do you have any idea to help me? please help me.
Well, no, we can't help. You have told us what your code does, and what goes wrong. Until we see what the code is, we can't comment on how it may be done better.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
|
Yes, i posted this question in devnetwork.net
Thank you, Hockey
|
|
|
|
|
Statement below make my search so slow:
$sWhere = "c.zipcode =". $searchresultstr;
$sWhere = " WHERE (" . $sWhere . ")";
$sWherePlus="AND (p.isbrand=True) AND (p.category_id=1 OR p.category_id=3 OR p.category_id=5 OR p.category_id=6 OR p.category_id=8 OR p.category_id=9 OR p.category_id=13 OR p.category_id=25 OR p.category_id=36)";
$sql_ads="SELECT DISTINCT t.contact_id as t_contact_id FROM `osb_contacts` AS `t`
Inner Join `osb_companies` AS `c` ON `t`.`company_id` = `c`.`company_id`
Inner Join `osb_products` AS `p` ON `t`.`company_id` = `p`.`company_id` WHERE ((POW((69.1*(c.longitude-\"$lon\")*cos($lat/57.3)),\"2\")+POW((69.1*(c.latitude-\"$lat\")),\"2\"))<($radius*$radius)) $sWherePlus";
$sSQL1="SELECT DISTINCT p.brand_sub_id as p_brand_sub_id FROM (osb_companies c INNER JOIN osb_company_info_details cd ON c.company_id = cd.company_id) INNER JOIN osb_products p ON cd.brand_sub_id = p.brand_sub_id WHERE ((POW((69.1*(c.longitude-\"$lon\")*cos($lat/57.3)),\"2\")+POW((69.1*(c.latitude-\"$lat\")),\"2\"))<($radius*$radius) $sWherePlus)";
------------------------------------------
The idea that i want:
if p.category_id=1 or p.category_id=8 then $radius=50
the other else $radius=1000
Can i use condition if in Where statement of MySQL and Can i set Variable of PHP
in Where Statement of MySQL
Please help me
|
|
|
|