|
container means i have used web user control and i place webcontrol in div but size is automaticaly increase because form contains textboxes,gride etc...it display full size, i want to display in fix size so all the component of the form may me automatically decrease the size
|
|
|
|
|
hi
can anybody claer my doudt as here i had created crystalreport.rpt file and set all properties to it and now the database is also connectd
ow in my aspx file i had created tables in sql and here i got my datatable and my code follows like this
//this i wrote it in button click
Dim dt As DataTable dt=trackFac.ActivityFullReportCRDropDownList1.Text....) myreports.Load(Server.MapPath("CrystalReport.rpt"))
myreports.SetDataSource(dt)
//in my page load
CrystalReportViewer1.ReportSource = myreports
but i am not getting crystalreport
padma
|
|
|
|
|
Don't repost. you can follow the same thread[^]. I answered your question.
ok... Does the rpt file resides in the specified path? what is the error message you are getting? Did you do a stepwise execution and checked whether you are getting the data in the DataTable? Is it throwing any exception?
Regards - J O H N -
|
|
|
|
|
yes it is throwing exzeption as invalid virtual path and sometimes it is not generating any error but report is not displayes
|
|
|
|
|
I think you have not specified the rpt file path correctly.
Regards - J O H N -
|
|
|
|
|
now it is not getting that problem this is not generating any error or report
|
|
|
|
|
It's just a four-line code. Quite simple to fix-up the problem. below is sample code that works fine in my project.. still I would like to confirm once Is the report path specified correctly?
Dim oRpt As New ReportDocument
Dim DataSet1 As New DataSet
DataSet1 = GetData()
oRpt.Load(Server.MapPath(".\WebReports\") & "Report123.rpt",
CrystalDecisions.[Shared].OpenReportMethod.OpenReportByDefault)
oRpt.SetDataSource(DataSet1.Tables(0))
CRViewer.ReportSource = oRpt
Regards - J O H N -
|
|
|
|
|
Frndz,
Kinldy give me sample code about how to print data from datagrid in C#.
Avesh
|
|
|
|
|
|
Hi All,
could you please give me the code for embeding real media player in firefox?
I have the one for Iexplorer.
It looks like this for internet Explorer :
<object id="realPlug1" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="545" height="400">
<param name="TYPE" value="audio/x-pn-realaudio-plugin" />
<param name="CONTROLS" value="ImageWindow" />
<param name="CONSOLE" value="video1" />
<param name="SRC" value="rtsp://80.194.35.48/ramgen/broadcast/livestream.ra" />
<param name="AUTOSTART" value="TRUE" />
<embed type="audio/x-pn-realaudio-plugin" controls="ImageWindow" console="video1"
src="rtsp://80.09.09.12/ramgen/broadcast/livestream.ra"
width="240"
height="180"
autostart="true" />
I need to make sure it will also play if the user opens it from other Browsers.
Regards
kibrom
|
|
|
|
|
What wrong with this code? It should be working on Firefox too.. Have you installed the realplayer plugin for Firefox???
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
Thanks very much.The problem i have is the Size of the vidoe clips fits in to my tag when i browse it from Internet Explorer.
However, when i see it from FireFox the size of the video become very small and does not fit the margines on my Html page.
How do you solve this problem?
Thank you
|
|
|
|
|
kibromg wrote: <object id="realPlug1" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="545" height="400">
<embed type="audio/x-pn-realaudio-plugin" controls="ImageWindow" console="video1"
src="rtsp://80.09.09.12/ramgen/broadcast/livestream.ra"
width="240"
height="180"
autostart=true>
</embed>
</object>
Why does the size (width="545" height="400") of object and the size (width="240" height="180") of embedded object different?
What about if we set the same width and height??
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
I want to bind meter cube per hour(m3/hr)in Combo Box....how to write as m power3 in html....Any idea will be helpful.
Thanks in Advance...
|
|
|
|
|
Hi
here is useful link for you. It lists how to show things like power of 3 (cubed) or power of 2 (squared) etc.
http://platon.sk/article.php?23
HTML for m to power of three would be: m³
Hydraman says "Make mine a water"
|
|
|
|
|
Phil Osborne wrote: m³
It's not working inside the combo box...Any idea...
Thanks in Advance...
|
|
|
|
|
Hi
You could to go to the aspx file and add a ListItem as below or add it as code in the .cs or.vb files :
<asp:DropDownList ID="DropDownList1" runat="server" Width="48px">
<asp:ListItem Value="cubed">m ³</asp:ListItem>
</asp:DropDownList>
Hydraman says "Make mine a water"
|
|
|
|
|
Tanx for ur reply...I tried it already but when i give AutoPostBack="True" it's not working....Actually i want to put meter cube per hour(m ³/hr) in session...Any Suggestions will be helpful...
Thanks in Advance...
|
|
|
|
|
Sorry Kasi
I have given as much information as I can on this one.
It does work on a postback for me and my colleagues so I am at a loss as to what else is happening with your code.
I can only suggest you try Debugging and Trace to see the errors.
Hydraman says "Make mine a water"
|
|
|
|
|
Hose him down Hydraman.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hello All...
i have two tables where i have 3 div in 1 one table and 3 Divs in other table.
i want that i can drag any DIV of 1st tables DIV to 2nd TABLES Div and can paste on it..
i went to several solutions but they are providing solutions for HardCord Named DIVS not for Runtime Created DIVs.
pls help me....
Jay R.Bhagatwala
|
|
|
|
|
I suggest you to check-out the widget plug-in http://wordpress.org/extend/plugins/widgets/ for Wordpress blog.. you can find the JS code from PHP file..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
hi frns
i want to copy a file from my disk and rename it with other name and save to my disk i used this snippet its working fine. But, for this to happen i have to write the fullname of the file with extension in the textboxes i provided
but i want to ignore the extension can anybody send me some code to complete this task
FileInfo thefile = new FileInfo(MapPath("RtfFilesPath") + "\\" + txtOriginalName.Text);
if (thefile.Exists)
{
File.Copy(MapPath("RtfFilesPath") + "\\" + txtOriginalName.Text, MapPath("RtfFilesPath") + "\\" + txtFilename.Text);
}
regards
-- modified at 6:31 Monday 12th November, 2007
|
|
|
|
|
Append the file extension to the text box value.
MapPath("RtfFilesPath") + "\\" + txtFilename.Text + FileInfo.Extension
Regards - J O H N -
|
|
|
|
|
CS0120: An object reference is required for the nonstatic field, method, or property 'System.IO.FileSystemInfo.Extension.get'
Line 34: try
Line 35: {
Line 36: FileInfo thefile = new FileInfo(MapPath("RtfFilesPath") + "\\voice\\" + txtOriginalName.Text +FileInfo.Extension);
Line 37: if (thefile.Exists)
Line 38: {
iam getting this error it is not accepting extension key word
|
|
|
|