|
Have you added style for the modal popup extender control in stylesheet?
If yes then set z-index as 1000
please don't forget to vote on the post that helped you.
|
|
|
|
|
Hi guys,
(sorry - lot of description about why I have an issue. My question is at the very bottom of this post...)
we have a scenario with several (more or less identical) Moss applications for different clients. Reports are the main part of it; these reports are identical as well for the clients but have to be deployed in each clients application. We display these reports using the Report viewer webpart that comes with the Reporting Services Add-on for Sharepoint.
I successfully set up kerberos auth and the RS integration. Using the ReportServer2006 (!) proxy I can programatically deploy the reports and manipulate their data sources. So far, so good.
Now there is one issue: I can deploy the reports _once_ - as soon as I try to deploy a second 'instance' of a report to a second application, the first entry in the 'Catalog' table of the ReportServer database gets deleted. So the last application gets stripped of its reports when the following application gets its reports deployed. This strange behavior does not affect the data sources; these can exist in several equally named copies in the table having different paths (URLs) for the different applications.
An obvious workaround: Rename the reports when deploying - e.g. 'Client1_ReportXY.rdl'. Works like a charm as expected.
But now we have n applications getting deployed via stsadm -o backup / restore from a template. Of course the Report Viewer webparts of the template don't know about the new names of the reports.
So I dug into the Sharepoint Object Model to try and update the reports' names in the Report Viewer webparts. I'm new in Sharepoint programming.
HERE IS MY ACTUAL PROBLEM: I can get hold of all the webparts on the page using SPLimitedWebPartManager - but the Report Viewer webpart doesn't show up in the SPLimitedWebPartCollection. Why is this? Is there any way to programmatically manipulate this webpart on an existing MOSS Page?
http://technet.microsoft.com/en-us/library/bb326422.aspx[^] points out that the Report Viewer webpart is a 'Custom Web Part'. Is this the cause - can't I access custom webparts via the object model?
Thanks for reading, any suggestions welcome. Actually I'm thinking of switching back to RS native mode - there have been lots of problems with the MOSS integration. And overall MOSS itself gave me more of a hard time than it actually helped
Juergen
modified on Friday, June 20, 2008 3:54 AM
|
|
|
|
|
Give focus to particular posion of webpage in a button click is Possible ?
Got ? Give me..
|
|
|
|
|
I am not sure whether I have understood the question correctly...
You may Panels, table or any other control and then on a button click, give the focus to the controls.
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
how can i read file another process is reading
|
|
|
|
|
I am using the following method to open the files which are opened by other process.
System.IO.FileStream fs = new System.IO.FileStream("file path here", System.IO.FileMode.Open, System.IO.FileAccess.Read, System.IO.FileShare.ReadWrite)
*jaans
|
|
|
|
|
Hi every body
I wrote code in asp.net to write in excel.
when i run it in debug mode it writes and opens this excelsheet.
But when I Browse by my IE then it does not open and also does not give error message
What is PROBLEM??????????????????
CAN ANYBODY TELL ME PLEASE ?
rAGHVENDRA
Raghvendra Kumar Roy
|
|
|
|
|
I have designed a Editor with basic format options and Spell check option.
The spell check code is as follows
Word.Application app = new Word.Application();
app.Visible=false;
object template = Missing.Value;
object newTemplate = Missing.Value;
object documentType = Missing.Value;
object visible = true;
object optional = Missing.Value;
Word._Document doc = app.Documents.Add(ref template, ref newTemplate, ref documentType, ref visible);
doc.Words.First.InsertBefore (hdnVal.Value );
Word.ProofreadingErrors we = doc.SpellingErrors;
iErrorCount = we.Count; doc.CheckSpelling( ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional);
object first = 0;
object last = doc.Characters.Count -1;
string strTemp = doc.Range(ref first, ref last).Text;
doc.Close(ref saveChanges, ref originalFormat, ref routeDocument);
app.Quit(ref saveChanges, ref originalFormat, ref routeDocument);
The problem is that, when i execute it in my system, its working fine.
But when i access the same URL from another machine, the spell check dialog is not opening but , its opening in the parent system.
What could be the problem? Kindly help me
Thanks
~VSree
|
|
|
|
|
I have a page which has lot of asp.net controls and retrieves data from the database and fill the controls.
and if the user makes changes and moves to the next page without saving. I want to alert them.
Can any one gimme idea on how to track the changes in the page !! or which keyword to search in google for !!
P.S: I checked for Viewstate property but it remains the same onload and posts.
Sathy
|
|
|
|
|
I guess this [^]will help you.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
|
|
|
|
|
Hi All,
In crystal report i want to display a field which is a string that should be in the following condition.
If that field has string value then it should display as it is else
if its a number then it should convert the string type to numeric type.
i used the following code
If NumericText ({st_delivery_note.stst_item_code}) Then
ToNumber ({st_delivery_note.stst_item_code})
else {st_delivery_note.stst_item_code}
but error occurs in the last line which says " A number required here"
Can anyone help me out.
|
|
|
|
|
|
Visual Studio can be used to edit XML files. BTW, what this has o do with ASP.NET ?
|
|
|
|
|
thanks so much..
and i know vs .net can edit XML files..
but our clients suggest us to to it.
so we must find some way that use xml_notepad_2007 to read edit and check XML files in .net 2.0.
can somebody help me ?
Study...
|
|
|
|
|
Hi i need to convert .php file to .aspx.
I have this script.php file in my application. I need to change this .php to .aspx on page load.
$result = array();
if (isset($_FILES['photoupload']) )
{
$file = $_FILES['photoupload']['tmp_name'];
$error = false;
$size = false;
if (!is_uploaded_file($file) || ($_FILES['photoupload']['size'] > 2 * 1024 * 1024) )
{
$error = 'Please upload only files smaller than 2Mb!';
}
if (!$error && !($size = @getimagesize($file) ) )
{
$error = 'Please upload only images, no other files are supported.';
}
if (!$error && !in_array($size[2], array(1, 2, 3, 7, 8) ) )
{
$error = 'Please upload only images of type JPEG.';
}
if (!$error && ($size[0] < 25) || ($size[1] < 25))
{
$error = 'Please upload an image bigger than 25px.';
}
$addr = gethostbyaddr($_SERVER['REMOTE_ADDR']);
$log = fopen('script.log', 'a');
fputs($log, ($error ? 'FAILED' : 'SUCCESS') . ' - ' . preg_replace('/^[^.]+/', '***', $addr) . ": {$_FILES['photoupload']['name']} - {$_FILES['photoupload']['size']} byte\n" );
fclose($log);
if ($error)
{
$result['result'] = 'failed';
$result['error'] = $error;
}
else
{
$result['result'] = 'success';
$result['size'] = "Uploaded an image ({$size['mime']}) with {$size[0]}px/{$size[1]}px.";
}
}
else
{
$result['result'] = 'error';
$result['error'] = 'Missing file or internal error!';
}
if (!headers_sent() )
{
header('Content-type: application/json');
}
echo json_encode($result);
I hope ur's reply.
Thanks
Every Successful Person Have A Painful Story
|
|
|
|
|
Hi i have a small doubt regarding dataset.
Is dataset is limit in its size. It takes only fixed rows?
if so, up to how many rows it would take?
if we give more than the limit. what exception it will give...
if any one have idea..please respond.
thanking you
G. Satish
|
|
|
|
|
Check this[^]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
|
|
|
|
|
Hi,
I am working on URL rewriting. Everything is working fine with VS 2005 web server. But when I configured in IIS it is not working.
The urls look like the following:
http://localhost/Prodcuts/Categories/View.Shirts
http://localhost/Prodcuts/Categories/AddNew.Category
So extension will change according to the functionality. I could not figure it out how to configure IIS 5.1 to work with these extension. Please help me. Thank you.
Intelligence is measured by common sense not by how many scholarly books you read.
|
|
|
|
|
Hi
I need your help..i am in a problem like
In my webpage i have 2 textbox...initially both will have to show..user has to enter value any one of these 2 textbox and has some regular expression validation is also there..
eg..one textbox is for bank a/c and another is for someother bank a/c no each one has it's on regular expression validation ..user has to fill either one of these textboxes..for that i have to create a custom validation control..because i am a beginer in asp.net..so can anybody help me to make custom control for this problem....for that i can reuse it again in my project..
regards
alex.
|
|
|
|
|
Dear,
Your need is simple
put a custome valid ctrl in web page, under this control
{
if((TextBox1.Text=="")&&(TextBox2.Text==""))
//display error message
//set a flag variable
}
But the dear...These validations are pure when u publish the site in web
if u know, try with javascript
|
|
|
|
|
Hi,
I have few objects in my web service I need to parse them into System.Xml.XmlDocument automatically. So that the object should be displayed as xml document. And if parsing fails then it should throw an exception that the format is incorrect. So that I can say the user to resend the values.
Can anybody pls. suggest me to do XML parsing.
Thanks a lot,
Aleem Mohammad.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
I have to give the client to open the mail message window of outlook on clicking the button.It is opening on the server on button click event, but when he client try to open it on the button click , it is not opening.
Please help.
I am using the following code
system.diagnosis.process.start("mailto:");
I got some code
Application a = new Application();<br />
MailItem m = (MailItem)a.CreateItem(OlItemType.olMailItem);<br />
m.To = name;<br />
Object obj = new object();<br />
m.Display(obj);
I am getting the following error in the first line of code , which i provided , while ececuting on the IIS.
Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80070005.
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
modified on Wednesday, June 18, 2008 2:31 AM
|
|
|
|
|
Hello
i have a question
in my compani each user have login in database
we are thinking go to the use one login
but i have the next ask
in case of audit how we can know what action are each user if we implement use one user for the login
someone can a commets, guide etc
regards
|
|
|
|
|
Obviously, you cannot, unless each user has a dedicated IP and you track that. But, you may as well track logins.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I have GridView with EmployeeID, FirstName columns both are bound columns, and paging enabled. When the page is displayed, I see EmployeeID and FirstName in the GridView.
Now, I need to go to second page... while going to second page, I need to read first page's EmployeeIDs with Javascript and store it somewhere.
How can I do that?
Anyone...........Help!!!
CSharp Guy
|
|
|
|