hi to all, i have added texbox dynamically which is located at modalpopup i want to do validation for that textbox how can i do that// plz tell me... thanks
hi_everybody
Posts
-
how to do validation of dynamically added textbox in asp.net -
how to search on homepage of respective item?hi to all, i am new in asp.net. my project is related to tours and travels. i have created usercontrols for searching car, bus. now, there is menucontrol which shows menus like, Home | Bus | Car |Hotel when i click on Bus it should display the search of the bus for that i have register the usercontrol on Index page of masterpage. but when i run the project and as i done coding on indexpage of masterpage at the time of displaying menu it shows object expected error and when i click on bus it again shows object expected error and shows the search control. design is:
<%@ Page Language="VB" MasterPageFile="~/TourMasterPage.master" AutoEventWireup="false" CodeFile="Reception.aspx.vb" Inherits="Reception" %>
<%@ Register TagName="hotelSearch" TagPrefix="UC" Src="~/Search/Hotel/UCHotelSearch.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageContent" Runat="Server">
<table width="100%" cellpadding="2" cellspacing="2" runat="server">
<tr>
<td>
<table id="tblHotel" runat="server" width="100%" cellpadding="2" cellspacing="2" style="display:none">
<tr>
<td>
<UC:hotelSearch ID="hotelSearch" runat="server" />
</td>
</tr>
</table>
</td>
</tr>
</table></asp:Content>
i want to show simply a search for user when user click on that bus or car....at that time the submenus should be displayed i.e. add new bus,modify bus etc. (like makemytrip site)
-
why it gives an error in crystal report?hi to all, i am new in asp.net, i want to create parameterised crystal report. i did it i create parameter "Empid " using "Parameter Fields" then i want to show the report on click event of button so code is as follows,
Protected Sub btnShow_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnShow.Click Dim ConnInfo As New ConnectionInfo With ConnInfo .ServerName = ".sqlexpress" .DatabaseName = "Northwind" .UserID = "sa" .Password = "" End With Me.CrystalReportViewer1.ParameterFieldInfo.Clear() If Me.txtEmployeeID.Text.Trim.Length > 0 Then Me.CrystalReportViewer1.ReportSource = Server.MapPath("SampleParam1.rpt") Dim ParamFields As ParameterFields = Me.CrystalReportViewer1.ParameterFieldInfo Dim p_EmpID As New ParameterField p_EmpID.Name = "p_EmployeeID" Dim p_EmpID_Value As New ParameterDiscreteValue p_EmpID_Value.Value = Me.txtEmployeeID.Text p_EmpID.CurrentValues.Add(p_EmpID_Value) ParamFields.Add(p_EmpID) Else Me.CrystalReportViewer1.ReportSource = Server.MapPath("SampleRpt01.rpt") End If For Each cnInfo As TableLogOnInfo In Me.CrystalReportViewer1.LogOnInfo cnInfo.ConnectionInfo = ConnInfo Next Me.CrystalReportViewer1.RefreshReport() End Sub
i am using sql2000, but after the clicking on button it will show me an error ,"Object Reference not set to an instance of an object". why i gives me error? is the servername is wrong? what the name should i provide? my database is on another computer and i am accessing it through networking the name of the computer is "RS1" so should i give the servername="RS1" if i debug the code , CrystalReportViewer1.LogOnInfo have count=0. what is error? -
want one sql query...thanks a lot...
-
want one sql query...thanks a lot ok from this i will search on google instead of asking in forum.. but thanks a lot .....
-
want one sql query...hi to all.... i have no so much experience in sql. one query i want may be its simple but still i want it. if there is table "EmpTbl" with fields empid,empname and salary. Then how i find the second max salary and second last salary of the Employee??? plz help me out ... thanks
-
how to use menucontrol please help me out???hi to all, i am new in asp.net so i need some help from you all. i have created menus using menucontrol, this menu control is on Index.apsx page of masterpage. when i click on any menu it will show me the related aspx page, e.g :- if i click on "Add new hotel" it will show me the Hotelentry.aspx page, but the menus will get disappeared because the menucontrol is on index.aspx not on master page.If i took menucontrol on masterpage it shows error that the menucontrol should be within Form tag. i haven't used Form on masterpage i have used form in content pages of that masterpage. if i use "form" in masterpage, i can't use that "form" again in content aspx pages. so please give me solution on this. actualy i want if user select any menu, the related aspx page will get displayed but the menus should also remains as it is... please help me
-
want to clear oops concepts in depthhi friends, i want to know why,when and how to use Encapsulation,Inheritance,polymorphism and abstract , interface class in depth. will you please help me..
-
Error: Invalid at the top level of the documenthmmm but i checked web.config file there no any problem then why this error comes actualy project get published successfully but when i run,it shows this error.
-
Error: Invalid at the top level of the documentno yaar the web config is ok my website run well in debugger
-
Error: Invalid at the top level of the documentHi, i have published website. At the time of running the site it through an error as follows, Invalid at the top level of the document. Error processing resource 'http://localhost/CompiledSite/SamplePage.aspx'. Line ... This is a marker file generated by the precompilation tool, and should not be deleted! ^ Error: Invalid at the top level of the document why it comes when i run my website at debug mode it runs well but after publishing it, it throughs an error.
-
how to publish website through IISthanks a lot its helpful to me thanks
-
how to publish website through IIShi, how to publish website throught IIS
-
need help for writting javascript for transferring data from one system to anotherhi Friends, my system is related to travels.In that, i want to create an two applications one is on in my system and another is on Client side say "ABC travels".When any user logon to that site, i have to check that user info with info which is stored in my system by using these two applications.For that "ABC travels" my system has some permission i.e. i only want to give permission for specific 10 buses,20 cars bookings to that client.so when any user make any booking from site of "ABC travels". first i have to check the userinfo as specified earlier then i want to send the data i.e. according permissions to their site,so that user can book any bus or car only from that 10 buses and 20 cars.If user book any bus.then the application which is in client side should send that booking information to my system.and my system will store that info in database. this is flow of my system, i am new so i didn't get how actualy i can do it.so will you please help me.... i don't know how can i transfer data from my system to client and form client to my system.... plzzz help me plzz thanks
-
how can i create interface?hi, i am new in asp.net i want to create webservice which used as an intermediate between webportal and real system. means online bookings which are done through my client's webportal i want to check that user's id in my system and if he is new then ask him for registration if he is older user then check his id and password in my system's database and do the remaining transaction for that i want to create the webservice which is used to intermediate media between client's web portal and my system.. how can do that, will please explain me.... please i am new so didnt know how can i do????
-
how to identify the button was clicked...thanks to all of you by helping me i the problem get solved by me... i get the rowindex of the button by rowIndex of button's parent's parent this is written at the event which is assigned to the button at design time in template column... i.e. Protected Sub btnCancelClick(ByVal sender As Object, ByVal e As System.EventArgs) Dim intRowIndex as Integer=sender.Parent.Parent.RowIndex End Sub :) BUT THANKSSSS To all of You....!
-
how to use menu control using database...hi actualy i want to create dynamic menu accroding to permission of user. it should get generate dynamically..... for that i used database...there are three tables related to menus 1. tblModule -which contains module code and module description i.e. masters,search,rate entry 2. tblMenu- which contains menucode,menu desc.(bus,car,flight,train),modulecode. 3. tblSubMenu-which contains submenucode,submenuname(add new bus,del bus,modify bus,search bus,add new rate entry for bus ...etc),submenulinks(means path of aspx file i.e. Masters/bus/newBusEntery.aspx),menucode now i want to dynamically create menus according to permissions like bus|car|flight... after clicking on bus it should display the submenu in dropdown manner like this, -add new bus -modify bus -delete bus and after selecting add new bus it should display the 'newBusEntery.aspx' page which is in Masters/bus folder whose path is stored in tblSubMenu table.. please, give code samples i need it urgently and i am new in asp.net,so help me friends.... thanx..
-
how to identify the button was clicked...ya i used template column for the button and assign the event handler. and when i clicked on button it goes to that event. but i want to know the row index of that row where the button is located(which get clicked) can you provid me code ..... actualy, i am showing the booking status in that gridview,first the status is 'in process' after clicking on button which is in gridview, it should the modal popup,in modal popup after clicking on 'ok' button, the status of booking should replaced with 'cancel req.' and for this purpose i want to know the row index of that gridview... so please, help me...
modified on Thursday, February 11, 2010 12:34 AM
-
how to identify the button was clicked...hi, i added button into gridview at designtime in first column. after running the application if gridview get populated with data. suppose it contain 4 rows. if user click on button of 2nd row,i want show the message that you clicked 2nd row. i.e. according to clicking of button i want to show the message of which row was clicked. but how can i identify which button was clicked.... please, help me....
-
how do i create websitehi, i am new in asp.net, i want to create a website for my practice. can you tell me how can i do that?