Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by joggi

  1. joggi

    ASP.NET 2.0 - MenuItem / MenuSubItem collection problem

    I have asp master page with menu control like this: MenuItem1 MenuSubItem1 MenuSubItem2 MenuItem2 MenuSubItem3 MenuSubItem4 I want some menu items and subitems to be disabled or enabled. I have code like this: For Each menu In Menu1.Items If menu.Value = "E" Then menu.Enabled =...
  2. joggi

    Crystal Report for VS 2005 Confusion - can anybody help

    Sorry, I don't know how to change text color. Sentence in red is: "they always exist as a class in the project, and are available from IntelliSense and visible in the Object Browser
  3. joggi

    Crystal Report for VS 2005 Confusion - can anybody help

    I found this site for CrystalReports support. http://support.businessobjects.com/documentation/product_guides/cr_net/vs_2005/html/crconsdkfundamentalsembeddedornonembedded.htm First in the text they say: Note In Visual Studio 2005, Crystal Reports report files are no longer embedded in Web...
  4. joggi

    ASP.NET 2.0 How to see Webform1 from Webform2

    Thanks, I was thinking about session variable but I didn't know is it a good way to this.
  5. joggi

    ASP.NET 2.0 How to see Webform1 from Webform2

    I have 2 webforms Form1 and Form2. Form1 has button Print Form2 has CrystalReportViewer I have VB code for Print_click Datatable=something from database…… ………………………………………. Dim rpt As New ReportDocument rpt.Load(Server.MapPath("Test.rpt")) rpt.SetDataSource(datatable)...
  6. joggi

    ASP.NET 2.0 Crystal report problem

    I think I am missing namespace, I have: Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Why I cannot instance report as new Test?
  7. joggi

    ASP.NET 2.0 Crystal report problem

    I have web form with button Print to show report. I made Test.rpt based on the xsd file. Protected Sub Print_Click Dim Report As New Test Report.DiscardSavedData() Report.Database.SetDataSource(some datatable) CRViewer1.ReportSource = Report CRViewer1.ViewReport() End Sub 1. Problem is...
  8. joggi

    ASP.NET 2.0 Crystal ttx file problem

    I want my Crystal report to use ttx file. I have this code: Public Declare Function CreateFieldDefFile Lib "p2smon.dll" (ByVal lpUnk As Object, ByVal fileName As String, ByVal bOverWriteExistingFile As Long) As Long And in my function: dt = New DataTable dt =...
  9. joggi

    ASP 2.0 DropDownList_TextChanged event doesn't fire

    Thanks a lot, now works.
  10. joggi

    ASP 2.0 DropDownList_TextChanged event doesn't fire

    I have on my web form one dropdownlist which data source is datatable. dt = New DataTable dt = ..... dropdownlist.DataSource = dt dropdownlist.DataBind() When I click on dropdown I have 3 values John, Tom, Mike. When user change the text TextChanged and...
  11. joggi

    ASP 2.0 How to catch and handle error code?

    Thank you, I found this: Try .... code Catch x As SqlException Throw x End Catch So my class throw error to webform.
  12. joggi

    ASP 2.0 How to catch and handle error code?

    Thank you. Now I have another problem. I have webform and on page load I call one function from Class1. When error ocurrs in class I want the class to pass that error to the form, like in VB6. I don't know how to do this. In VB6 I have in Tool Options to set: Break on all errors Break in Class...
  13. joggi

    ASP 2.0 How to catch and handle error code?

    Thanks, but what if I have division by zero. This is not sqlexception?
  14. joggi

    ASP 2.0 How to catch and handle error code?

    I know this Try...catch...er.message... But what am I looking for is Error.Number not Error.message Like I have in my VB 6 project: Err: Select Case Err.Number Case -2147467259, 17: MsgBox "There is no connection" Case 2627, 3621: MsgBox "Field is unique." Case...
  15. joggi

    ASP 2.0 How to catch and handle error code?

    I wonder how to catch error in the ASP.NET? 1. I have web form and when I click Add button I call Function Insert from my Class1 2. When function Insert has an error how to pass that error to my web form and where to show this error? 3. How to catch error code and handle error, for instance in...

Part and Inventory Search

Back
Top