|
Hey guys,
I already search the web but I couldn't find a solution for my display problems with the ReportViewer control in different browsers.
Heh okay! I already figured out, that some buttons like printing and search are only available @ IE because of the activex functions of the IE but I don't care about those buttons, all I want is the same view for the report preview @ firefox and IE.
My current code:
<br />
<%@ Page Title="" Language="VB" MasterPageFile="~/Shared/TableDefaultMaster.master" AutoEventWireup="false" CodeFile="Auswertung.aspx.vb" Inherits="Statistik_Auswertung" %><br />
<br />
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"<br />
Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %><br />
<br />
<asp:Content ID="content" ContentPlaceHolderID="DefaultContent" Runat="Server"><br />
<br />
<table style="vertical-align: bottom; border-width: 0px; margin-top: 0px; <br />
margin-bottom: 0px; width: 100%; height: 100%; padding: 0px,0px,0px,0px;" <br />
cellspacing="0" cellpadding="0"><br />
<tr><br />
<td><br />
<h4>Auswertung</h4><br />
</td><br />
</tr><br />
<tr><br />
<td><br />
<div style="border-top: black 1px solid; <br />
background-color: #ece9d8; border-bottom-width: 1px; <br />
border-bottom-color: #d4d0c8; padding-bottom: 10px;"><br />
<asp:TextBox ID="txtInt" runat="server" Visible="false"></asp:TextBox><br />
</div><br />
</td><br />
</tr><br />
<tr><br />
<td style="height: 350px;width: 100%"><br />
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" <br />
Font-Size="8pt" Height="100%" Width="100%" BackColor="White"><br />
<LocalReport ReportPath="Statistik\reports\Auswertung.rdlc"><br />
<DataSources><br />
<rsweb:ReportDataSource DataSourceId="ObjectDataSource1" <br />
Name="Auswertung_USP_Auswertung" /><br />
</DataSources><br />
</LocalReport><br />
</rsweb:ReportViewer><br />
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" <br />
OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" <br />
TypeName="AuswertungTableAdapters.USP_AuswertungTableAdapter"><br />
<SelectParameters><br />
<asp:ControlParameter ControlID="txtInt" DbType="Int32" Name="Int" <br />
PropertyName="Text" /><br />
</SelectParameters><br />
</asp:ObjectDataSource><br />
</td><br />
</tr><br />
</table> <br />
</asp:Content><br />
IE: fine view
FF: just a small crapy box
Some1 maybe knows a way to make the view for the control be the same in IE and FF?
THANKS,
Kind Regards,
0x00001337
|
|
|
|
|
i have designed registration form. in that i used a calender for date of birth and date of join . just i drag and dropped the calender and textbox for date of birth.means whatever the date i have choosen in that calender it must appear over the textbox.here my constraint is doj must be greater than date of birth.
for this i need validation controls and validation expressions without javascript
if iused the code given by u then it is raising the validation even i gave the date of join greater than date of birth.help me in this regard as soon as possible
please help me in this regard
modified on Saturday, May 9, 2009 1:10 AM
|
|
|
|
|
Good Afternoon sritha
This can be done in the Following way. On the SelectionChanged event of your calender control enter the following code
protected void Calendar2_SelectionChanged(object sender, EventArgs e)
{
txtdateofjoin.Text =Calendar1.SelectedDate.ToShortDateString();
}
protected void Calendar1_SelectionChanged1(object sender, EventArgs e)
{
txtdateofbirth.Text = Calendar1.SelectedDate.ToShortDateString();
}
This is for diffent textboxes and drop a "CompareValidator" control from the Validation section of your toolbox and right clikc on it and go to Properties. Please Change the Properties to be exactly as i will show you now
Control To Compare: -->txtdateofbirth
Control To Validate:-->txtdateofjoin
Error Message:-->Date of Join must be Greater than Date of birth
Operator:-->GreaterThan
Well to Test this i had to attempt a postback, so i but a button and never wrote any code for it, and i ran my page and input the dates so that the date of join is equal to the date of birth and i got that Error message in the Error message Property.
This is how we do it in Asp.net without using any javascript.
Kind Regards
Vuyiswa Maseko
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
|
hi there ....
My client is sending a mail from my asp.net website.
The page which is being sent has a link which will further open a new page of a different website of mine..!!
Now I need to access the data ( eg some item_code ) on this new page from the mail as the client clicks the link and navigates to new page for some further task.
can anybody text me something that how should i achieve this...??
Any thought is appritiated.....!!!!
Thank You very much for having a look of it..!!!
|
|
|
|
|
shail nautiyal wrote: y
My client is sending a mail from my asp.net website
So, Client can send mail from your application to any customer.
shail nautiyal wrote: The page which is being sent has a link which will further open a new page of a different website of mine..!!
In the mail there is a link of different web site. and you need to access some data from that page. Isn't it?
Ok, Here is my suggestion,
Just send the link of your new web page and all the required data as a query string.like mail link should be:
http://myserver.com/registration.aspx?GUID="FSDFASDFSasdfas"&UserId="YourID"&Item_Code="3"
Send the entire mail from your first web sites.
Now while sending the mail you can perform some additional task,like
Generate the GUID (Is only using for validation) and save it database with corresponding to user ID
Now, In your new page,
Retrieve all the Query string information, and first validate the GUID and UserID from database, that weather user are from valid link or not.
Then you can do anything you want with Item_code.
Hope, this will help you to move ahead.
|
|
|
|
|
How can i know whether the string is bold or italic or normal using c# code.
I have one string which contains bold words, italic words and normal words.
i want to separte them each, how can i do this in c#
G. Satish
|
|
|
|
|
Can you please put the sample string? if it is a html string
like "<b>This is Bold</b>and <i>this is italic</a>" then you can find it out other wise.....
|
|
|
|
|
Actually the data will be in EXCEL file.
And in Excel file the string looks like this
arabic just normal one Ali, khan, Bioobo, meena
Here the problem is i have to read data from excel file, and i have to identify which of the words are bold, italic and normal
G. Satish
|
|
|
|
|
You are reading the content as simple text. And I think there is no way to identify the text format.
|
|
|
|
|
Is there any way to read the text in formatted way. i mean while reading itself it has to read all styles & formats
G. Satish
|
|
|
|
|
I doubt. May be there can be some workaround. Let me search, If i found some relevant will let you know !
|
|
|
|
|
How can I store a value in class file and get this all other class in c# asp.net web application without using static objects.
|
|
|
|
|
vnsraj wrote: How can I store a value in class file and get this all other class in c# asp.net web application without using static objects.
What does it mean? You want access some value from all over the application or what?
you have a similar post over here, and its is to confusing.
Please ask your question properly, which will help us to give the answer and will help you to get the answer.
[Added]BTW: I didn't marked your question as Good Question [/Added]
modified on Friday, May 8, 2009 9:24 AM
|
|
|
|
|
hi, i have a gridview which is bind to certain datasource, while binding it with datasource i want to hide the row with the column with string "NULL" , how can it be hidden, help please
|
|
|
|
|
trimandir prajapati wrote: while binding it with datasource i want to hide the row with the column with string "NULL" , how can it be hidden, help please
You want to hide some particular row while binding? You can do it on GridView RowBound Event
|
|
|
|
|
i want to read data from lan serial port how can i do that
|
|
|
|
|
nikhil1234 wrote: i want to read data from lan serial port how can i do that
ASP.NET Does not developed for Reading data from Serial Port.
|
|
|
|
|
Please let me know which are the latest technology that we use in DotNet.
Please give me a list
Thanks
Raj
|
|
|
|
|
vnsraj wrote: Please let me know which are the latest technology that we use in DotNet
No idea what versions you are using, but to find out what the latest versions are try www.microsft.com
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
vnsraj wrote: Please let me know which are the latest technology that we use in DotNet
This is ASP.NET Forum, you can ask any asp.net related problem that you are facing while developing or learning. but the question you are asking for that you need to googling or visit Microsoft sites.
vnsraj wrote: Please give me a list
Here
|
|
|
|
|
I've setup a few pages that inherit from a MasterPage, however, in my case, Home.aspx displays the top navigation banner I have created, but, the other pages do not display the top navigation bar.
Home.aspx - within this page the navigation bar is displayed
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="_Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
Chat.aspx - when I browse to this page the navigation bar is not displayed
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Chat.aspx.cs" Inherits="Chat" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
Solution uploaded at http://cid-b712073b3513eb8e.skydrive.live.com/self.aspx/.Public/Blog.rar[^]
The problem happens on Google Chrome only (at least the navigation bar is displayed).
Within Mozilla FF, IE and the internal browser scroll bars only are displayed. Screenshots at http://cid-b712073b3513eb8e.skydrive.live.com/self.aspx/.Public/blog-screendump.docx[^]
Environment notes
VS 2008 SP1
Windows XP SP3 + IIS 5.1
Google Chrome / Mozilla FF 3.0.10 / IE
Jon
|
|
|
|
|
Hi
I would say that you should have the controls registered in your page (inside your content place holders). then you should start see soemthing.
sample example here:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Account.aspx.cs" Inherits="v1_1_Pages_Account"
MasterPageFile="~/v1_1/MasterPages/master2.master" Title="My Profile" Theme="v1_1"%>
<%@ Register Src="../../Controls/Common/CtrlBreadCrumb.ascx" TagName="CtrlBreadCrumb"
TagPrefix="uc1" %>
<asp:Content ID="Content3" ContentPlaceHolderID="breadCrumb" Runat="Server">
<uc1:CtrlBreadCrumb ID="CtrlBreadCrumb1" runat="server" />
</asp:Content>
Hope that helps
--
http://ashakthi.blogspot.com
http://kids-articles.blogspot.com
|
|
|
|
|
However I did not create any controls as yet..
Jon
|
|
|
|
|
hi .
i have taken a radiobutton list control and its have two values one life time and other is last month , i want when it display in browser by default it select life time means first value of radiobutton list.
|
|
|
|