I have a nice UserControl in Asp.Net which is located on a master page and defined there.
I am trying to refer to there from another page like this
CType(Page.Mast er.FindControl( "NavMenu2") , WebUserControls _wbuNavMenu)
And I get thet Error.
Please help.
User Profile
Collapse
-
Error Type is not defined
-
Error Type is not defined
I have a nice UserControl in Asp.Net which is located on a master page and defined there.
I am trying to refer to there from another page like this
CType(Page.Mast er.FindControl( "NavMenu2") , WebUserControls _wbuNavMenu)
And I get thet Error.
Please help. -
Thanks you all for your attention and time, It worked. -
Hi,
what did you mean "But it works without handling event." ?Leave a comment:
-
Thanks a lot, but didn't work.
As much as I understood from searching google, the
"ON NO DATA" event, does not fire in the subreport.Leave a comment:
-
Thanks for your attention, the code was OK,
but still I have a problem, since my target was to save the space that the balnk subreport takes' and although the sub report was unvisible' still the page was with large blank space, in the palce that the subreports was supposed to sit.
Do you have any idea how to save the blank space?
Thanks.Leave a comment:
-
How To hide a subreport?
How To hide a subreport?
I found how to know if the subreport has no data
(Me.subreportna me.Report.HasDa ta)
what I didn't find is how to make the sub report unvisibile if it has no data.
I tried:
If Not Me.subreportnam e.Report.HasDat a then
Me.subreportnam e.Report.Visibl e = False
End If
but it gave me an error -
How to send a mail automatically?
I know how to create an outlook object. this is the function I wrote:
...Code:Public Sub Outlook_CreateNew(prmOutLookType As Integer, Optional prmEmailAdress As String, Optional prmMessage As String) Dim objOL As Object Set objOL = CreateObject("Outlook.Application") Dim NewTask As Object Set NewTask = objOL.CreateItem(prmOutLookType) If prmOutLookType = 0 Then 'Mail NewTask.To -
Hello Neopa,
I tried your suggestion, but it still returned 'false' although I made a change in a textbox. I wrote:
If Me.cldCustomer. Form.Dirty Then
(cldCustomer is the Name of The Child. The Name of the form in this child, he didn't recognize).
Please help.Leave a comment:
-
-
Me.Dirty - Please help.
Please Help - If Me.Dirty
I Understood That It Check If any Data in controls had changed.
I Have a Form with few textboxes, and On Exit from the form i want to check if data was changed. But It didn't work, Me.Dirty returned "false" although I changed data in textbox.
the real reason, I understand now, it because the textboxes are in subform and the Exit button is at the main form, so me.dirty don't recognize changes... -
Thanks a lot for your kind help.
All the variables are int, beside the ProcessMonth which is DateTime
It' s the third form I do with few combos that are filtering together the form' and never got such error. pls help.Leave a comment:
-
Thanks a lot.This is the Code:
...Code:Private Sub FilterProcessForm() Dim strTotalFilter As String Dim strMonthFilter As String Dim strDepartmentFilter As String Dim strProjectTypeFilter As String Dim strCustomerFilter As String Dim strProjectFilter As String Dim strInvoiceFilter As String '--------MonthFilter If IsNull(Trim(cmbSearchByProcessMonth.Value))Leave a comment:
-
Thanks a lot.You was absoloute correct. my problem was solved. I have another problem if you can help me. I am filtering a form by few combo boxes by creating a long string from all the values of the combos. at the last combo I get a RunTimeError 2001:"You Cnceled previouse Operation". what's that mean?...Leave a comment:
-
Thanks a lot.my problem was solved. I have another problem if you can help me. I am filtyering a form by few combo boxes by creating a long string from all the values of the combos. at the last combo I get a RunTimeError 2001:"You Cnceled previouse Operation". what's that mean?...Leave a comment:
-
Need Help About Combobox With Dates
I need help urgent. I don't know how to filter a form with combobox By dates', cause I understood that the value of combobox should be a number, so what should I do if my values are dates? Please Help!
No activity results to display
Show More
Leave a comment: