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!

Search results for query: *

  • Users: joggi
  • Order by date
  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...
  16. joggi

    ASP 2.0 Weird problem - localhost Vs. http

    1. My table has field Date 2. On my PC I have date format dd.mm.yyyy HH:mm:ss 3. In my code I have DataTable field = Now 4. When I start application from localhost Now= 13.12.2006 14:02:02 5. When I start from http://x.x.x.x/ My site/Default.aspx Now = 12/13/2006 2:02 PM 6. I got error “The...
  17. joggi

    ASP 2.0 Weird problem - localhost Vs. http

    When I run my ASP application on localhost everything is ok. But, when I start my application from http://ip/WebSite/Default.aspx I can delete and edit table, but Insert doesn’t work. There is no error, I put some labels to check my code, everything is fine, but Insert doesn’t work. It is very...
  18. joggi

    ASP 2.0 User logout issue

    Thank you for helping me, but I am new in ASP. What does "use control that does postback..." mean?
  19. joggi

    ASP 2.0 User logout issue

    I have master page with side menu, and one menu item is Logout. Where to put Session.abandon , I cannot catch menu click event?
  20. joggi

    ASP 2.0 User logout issue

    In my SQL database I have all user/login information like users, roles, permissions etc. So I have one web form with Login data: username and password. When user click button OK I check in my database that user, and if it is ok I redirect him to another page. I wonder, when I say Logout I...

Part and Inventory Search

Back
Top