|
hmm strange now the window does not appear and gives a yellow ! saying object does not support this method.
<script language="javascript" type="text/javascript">
function calendarPicker(strField)
{
var obj=document.getElementByID("strField")
if( obj = !null )
window.open('DatePicker.aspx?field=' + strField,'calendarPopup','width=250,height=190,resizable=yes');
}
</script>
|
|
|
|
|
strField is the Textbox id
If yes :
var obj=document.getElementByID(strField);
//Avoid the double quotes
No
Then find direct with Control id
var obj=document.getElementByID("TextBoxId");
Parwej Ahamad
R & D: REST services with WCF
|
|
|
|
|
after changing to either by control id or passing the id through strField it gives the same error.
|
|
|
|
|
Perhaps if you fix your formatting so we can see all the code ?
The answer is obviously that you're doing something, somewhere, that is done differently in IE. So, you need to find that bit of code, wrap it in a browser check, and write IE specific code as needed.
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 an image button that opens a file browser on clicking it, but my button always requires 2 clicks and then after it requires only 1 click. how can aviod it to have 2 clicks for the first time.
Here is my html code and the fucntion that it calls after click.
<img id="uploadImg1" class="imgUpload1" src="~/images/upload1.gif" runat="server"
alt="Select file from your computer" onclick="BrowseSingle()" />
here is my js function that should be called onclick:
function BrowseSingle()
{
maxNoOfFiles = 1;
if(browseMode == "bulk")
{
swfu = null;
}
if(swfu == null)
{
SingleUploadObjInit();
}
swfu.browse();
browseMode = "single";
}
|
|
|
|
|
I am not sure, but might be cause of runat="server".
Can you check it as this:
On page load event:
uploadImg1.Attribute.Add("onclick","BrowseSingle()");
Parwej Ahamad
R & D: REST services with WCF
|
|
|
|
|
My VS .Net 2005 web app uses crystal reports.
They are set to use Landscape orientation in the .rpt as well as programmatically.
When the print dialog shows, Portrait is always set.
Anyone have a solution for this?
Also, during my internet searches, I found a possible solution involving c:\windows\microsoft.net\framework\v2.0.50727\asp.netclientfiles\crystalreport\webformviewer3\html\crystalprinthost.html.
It suggested changing a javascript property from pageorientation to paperorientation.
Since then I don't even get the printer dialog, just a "Error in "/" application, resource cannot be found" in a 2" box.
I tried copying the whole folder from another working PC, no change.
I tried uninstall of everything VS, and reinstalling, but it still won't work.
"Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..."
"There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."
|
|
|
|
|
Hi Rechard,
I remember report object provides a property like :
oReport.PrintOptions.PaperOrientation = PaperOrientation.Landscape
OR are you looking different thing ?
Parwej Ahamad
R & D: REST services with WCF
|
|
|
|
|
Yes, I've tried that. The print dialog just ignores it and uses Portrait.
"Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..."
"There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."
|
|
|
|
|
Sorry Richard !
I never face this kind of problem. It seems like settings are automatically adjust by the print dialog.
It is learning for me.
Parwej Ahamad
R & D: REST services with WCF
|
|
|
|
|
What is strange is if I use the Windows Forms version of the reportviewer, and print, the print dialog sees Landscape like it should.
"Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..."
"There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."
|
|
|
|
|
Hi All,
I have a login screen with a header and footer. Once logged in , it will take me to a menu and from there, for every page that I navigate to...... the same header and footer as in the login screen should be visible along with the main menu at the side... How do I do this?
I am using VS2003 and vb.net...
Any help in this regard is highly appreciated.
Regards,
Reena
|
|
|
|
|
Im not sure if you can create master pages in visual studio 2003 but another way is to create a header and footer page i.e header.aspx and footer.aspx and then include them in your files i.e.
We are not a Code Charity
|
|
|
|
|
I'm sorry you have to use VS2003.
Master Pages don't exist yet. I would create a user control for the header and a user control for the footer. Then add the user control to each page.
I didn't get any requirements for the signature
|
|
|
|
|
Better way to implement it;
Create a Header and Footer Web User Control and add it in every page of header and footer area.
Parwej Ahamad
R & D: REST services with WCF
|
|
|
|
|
Hi,
The best solution is using master pages but vs2003 wont support this one. So alternate is create separate user controls for header and footer then you need to register those controls wherever you want.
I think this will help.
|
|
|
|
|
Hi,
I developed a web application in which I used crystal reports to generate a report from ms-access database. The application working fine on development machine but when I a built it and trying to run on client machine it is raising the following error page........
Please help me to fix this.........
Thanking you
Mcmilan
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 19: </compilation>
Line 20: <customErrors mode="Off"></customErrors>
Line 21: <httpHandlers><add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></httpHandlers>
Line 22: <!--globalization culture="en-US" /-->
Line 23: </system.web>
Source File: c:\inetpub\wwwroot\mica\web.config Line: 21
Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
|
|
|
|
|
check this out:
http://forums.msdn.microsoft.com/en-US/vscrystalreports/thread/b0fc930f-5fc8-4475-bfe7-ad56616e838d/
http://bytes.com/forum/thread564519.html
We are not a Code Charity
|
|
|
|
|
Hi
I have a form with the following div content and a link to this div to opened. when I click the link, my form is not showing the complete content in the div and its cuttong from the 2nd row. anyone please look it. Why is it displaying without the last two rows.
<div id="divWrapper" runat="server" visible="false">
<div id="sliderInfo" class="sliderInfo" width="550" style="height:400px">
<table width="100%" class="tblInfoSlider" height="400px">
<tr>
<td colspan="2" class="tdInfoSlider"><b>Get Published!</b></td>
</tr>
<tr>
<td valign="top" class="tdInfoSlider2">
<strong style="color:Black">do<span style="color: #dc143c">X</span>top</strong><span style="color:Black;font-size:8px">®</span> is a state-of-the-art Web-publishing platform that lets you share your expertise with
people, communities and systems around the world—and reap the rewards!
<br />
<%--<ul class="ulBullet">--%>
<li>Create and distribute professional publications,
magazines, newsletters, whiteapers (…)! </li>
<li>Promote yourself, your company, your brand and
your credibility by sharing your expertise with the people who need it!</li>
<li>Build trust with and get valuable feedback from
readers with interactive reader communities!</li>
<%-- </ul> --%>
<br />
<br />
<span style="font-size:15;font-weight:bold;">
<strong style="color:Black">do<span style="color: #dc143c">X</span>top</strong><span style="color:Black;font-size:8px">®</span> base services are FREE for everyone!
</span>
</td>
<td class="tdInfoSlider3">
<a href="~/userspace/upload.aspx" id="uploadLink" runat="server" >
<img id="Img1" src="~/images/register_home.gif" runat="server" alt="Upload Your Documents" />
</a>
</td>
</tr>
<tr>
<td colspan="2" class="tdInfoSlider2" valign="top">
<strong style="color:Black">do<span style="color: #dc143c">X</span>top</strong><span style="color:Black;font-size:8px">®</span> gives you the freedom to author documents the way you want in tools like
Microsoft Office. The freedom to make your publications available to whom you want.
The freedom to show the world who you are without having to understand Web technology.
</td>
</tr>
<tr>
<td colspan="2" class="tdInfoSlider2" style="padding-right:10px;text-align:right;" valign="top">
<span id="Span1" onclick="Slide();" style="cursor:pointer;cursor:hand;font-size:13px;text-decoration:underline;"><b>Close</b></span>
</td>
</tr>
</table>
</div>
</div>
thanks
|
|
|
|
|
Because the height of your table is spilling over 400px?
|
|
|
|
|
Hi
Without the height, also its not diaplying my other content.
|
|
|
|
|
gottimukkala wrote: class="sliderInfo" width="550"
Remove height of the div and check sliderInfo class in your stylesheet.
If you have any confusion please post that class and also check class with outer div ID.
please don't forget to vote on the post that helped you.
|
|
|
|
|
Hi
I removed the height from div and there is no change.
here is my styleshhet class for sliderInfo. I dont have styles defined for outer div.
.sliderInfo
{
left:0px;
position:absolute;
height:0px;
background-color:#FEFE98;
border:1px solid #FFFFFF;
color:#000000;
overflow:hidden;
/*display:none;*/
visibility:hidden;
z-index:100;
}
|
|
|
|
|
gottimukkala wrote: sliderInfo
{
left:0px;
position:absolute;
height:0px;
background-color:#FEFE98;
border:1px solid #FFFFFF;
color:#000000;
overflow:hidden;
/*display:none;*/
visibility:hidden;
z-index:100;
}
Dear see your class. You define height:0px; remove it also and check
please don't forget to vote on the post that helped you.
|
|
|
|
|
I commented my height:0px; line but still have the same problem.
.sliderInfo
{
left:0px;
position:absolute;
/* height:0px;*/
background-color:#FEFE98;
border:1px solid #FFFFFF;
color:#000000;
overflow:hidden;
/*display:none;*/
visibility:hidden;
z-index:100;
}
|
|
|
|