|
I have 2 things in reportviewer but print only one.
First one is datafields and anotherone is Image or Text.
I want see both in reportviewer but print only datafields.
If u have any idea in any report like RDLC,Crystal Report .... and any one then replay me....
Please replay fast...
Thanks in Advance.....
Manoj Patel
|
|
|
|
|
Hi All,
Hi,
I am developing a digital signature verification component in C# in .NET framework version 2.0.
In this verification I need to check the Certificate revocation status against a Offline CRL stored in a directory? I didnt find any api to initialize a CRL object or any examples to check revocation status?
Could some one please let me know how to use X509Chain object for offline CRL verification? I didnt find any examples. Or is there any other mechanism to do this checking?
Thanks-
Supraja
|
|
|
|
|
Hi everyone..
My TreeView Structure is like this....
TextBox
|
|_Textbox1
|_Textbox2
and im having two Textboxes Name Textbox1 and TextBox2.
My need is on selecting or clicking the Textbox1 in the tree node
the focus should be set on the Textbox1 if i clicked any other node
means the focus should be set on the coressponding Textbox..How should i achieve it?
My code is below..
private void TV_AfterSelect(object sender, TreeViewEventArgs e)
{
Control[] ctrl = this.Controls.Find(TV.SelectedNode.Text, true);
if (ctrl.Length > 0) ((TextBox)ctrl[0]).Focus();
}
But i getting only just a blink in the textbox and the focus is not appear permanently..
Rgrds
Kanna..
|
|
|
|
|
Hi friend,From Today Im going to work with Web Parts...Please let me know regarding to this...
Hi,Im Razana
|
|
|
|
|
|
Plus, it would be the best if you ask in ASP.NET forum.. thank you!
|
|
|
|
|
Webparts[^]
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
Sir,
My coding for exprting crystal report in excel is as below. I can get result very well in my pc. But i can't export it in web server. I think something is missing like patches or drivers which are required for crystal reports at web server. I am giving error description also ... pls reply me quickly.
Coding Part :
MemoryStream oStream;
Response.Clear();
Response.Buffer = true;
oStream = (MemoryStream)oRD.ExportToStream(ExportFormatType.Excel);
Response.ContentType = "application/vnd.ms-excel";
try
{
//write report to the Response stream
Response.BinaryWrite(oStream.ToArray());
Response.End();
}
catch (Exception ex)
{
strScript = "<script language=javascript>\n";
strScript += "\tstrShow='CMTL';strErr='Y';strValue = '";
strScript += Server.HtmlEncode(ex.Message.ToString());
strScript +="';\n";
strScript += "</script>\n";
RegisterStartupScript ("warning", strScript);
return;
}
finally
{
//clear stream
oStream.Flush();
oStream.Close();
}
Error part at web server :
Error Message: Error in File E:\NET_Portals\CMTL\Weekly_Reports\crpCommonFieldCom.rpt:
Error detected by export DLL:
Page Error Occurred: /cmtl/cmtl_concrete_field_com.aspx
ExceptionType: CrystalDecisions.CrystalReports.Engine.ExportException
Stack Trace: at '.'I(String , EngineExceptionErrorID )
at '.'D(Int16 , Int32 )
at '.'C(Int16 )
at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType)
at CMTL_PROJECT.cmtl_concrete_field_com.btnGraph_Click(Object sender, EventArgs e) in f:\webdevelopment\cmtl_project\cmtl_concrete_field_com.aspx.cs:line 272
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain()
khushbu patel
Reliance Industries Limited,
Software Engineer,
Jamnagar.
|
|
|
|
|
hi i have multiline textbox i want 3 lines visible at a time , after typeing then i click on next button ,
it gives me Redirect URI cannot contain newline characters.
Whts the solution to this does anybody know....
this line is showing error
<pre>
Response.Redirect("survey.aspx?Count=" + Convert.ToInt32(i + 1)+ "&temp="+Session["Query"].ToString());
</pre>
srinivas
|
|
|
|
|
|
i need to invoke a windows method. For this i call an exe file from windows\system32 directory. But i need to know in which drive winodws is installed. I think it is not wise to hard-code my code -"c:\windows\system32". So can any one tell me how do i know this path from my program in run time?
Thanks
Chayan
|
|
|
|
|
I use System.Environment.ExpandEnvironmentVariables to expand %windir%
e.g.
string MediaDir = System.Environment.ExpandEnvironmentVariables ( @"%windir%\Media\" ) ;
|
|
|
|
|
Hey, Thanks a lot for such quick response. It's really great !!! Thanks mate..
Chayan
|
|
|
|
|
Look for the Windir system variable in the environment variables...
System.Environment.GetEnvironmentVariable("windir") will return the string where Windows is installed
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
Thanks mate for your great help. I am really happy to find such a simple and cool solution . Thanks a lot !!!!
Chayan
|
|
|
|
|
A better solution is System.Environment.GetFolderPath( System.Environment.SpecialFolder.System ) .
|
|
|
|
|
Thanks a lot....Now i know multiple solutions to my problem..
Chayan
|
|
|
|
|
Hi
i have a mdiform with a tabcontrol on it,that my tabcontrol is docking to right side of the mdiparent,and my childs are opening in all extra space of the parent in maximaize state,
my childs autoscrollbars peroprty is set to true,because in 800*600 resolution all my pages can't seen with user,but my parent ,automaticly set the scrolls when needed,in this case, pair of scrolls in parent and child cause to confusing user,
i need both af them to see all ao my child forms
what can i do?
please help me!
thanks
parastoo saadat-c# programmer(i working in .net with c#)
p00932004@yahoo.com
|
|
|
|
|
Hi,
i've a problem how we can bind our data in databse into a combobox?can anyone help me?
Thank YOu
Regard,
Tomi
|
|
|
|
|
You set your Data Source property to what ever query/view or stored procedure you are getting the data from. You then set Display Member to the field you want to display. Value Member is the field value that you want the selected value to return.
Hope this helps you out.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
Thanks A lot Paul..You Solve My Problem
Thanks and Regard
TCim
|
|
|
|
|
Hi,
May i know how to be able to select any shapes drawn by clicking at the border of the particular shape? If there are more than one shapes displayed, how do i select one of them using a mouse event? which command i need to use? Any suggestions?
thanks
|
|
|
|
|
There are no "commands" to do this. You'll have to program this behavior yourself. See this[^] implementation of a drawing canvas that may help you get srtarted. Also see this[^] implementation of a rect tracker.
/ravi
|
|
|
|
|
Hi,
I want to create a form that has 2 areas. One area is where all the pre-drawn shape is located and the other area allows the shapes to be drag and drop onto it.
should i use custom control for the area that allows the shape to drag and drop onto it? How about the other area?
how to ensure that the pre-drawn shape is able to be seen all the time and any one of the shape is able to be selected, drag and drop to the other area?
Any tips what i should do and what kind of classes that i should use?
Thanks
|
|
|
|
|