Greetings I am doing asp.net web for hotel entry When user search hotel. i want to show that hotel's location in google map with my text I searched for that but i didn't get what I want I mean I don't want to create maps for 1 by 1 hotel. How can I solve this?
kripa21
Posts
-
Google Map? -
how to maintain viewstate?Thanx if u can share any example/ more detail then it will more helpful to me, Coz i didn't used cache yet
-
how to maintain viewstate?thanx
-
how to maintain viewstate?Hello sir, plz tell me how to use ajax call or full postbox in brief or just forward me link if any
modified on Wednesday, February 3, 2010 3:25 AM
-
how to maintain viewstate?plz, give me more details, How redirect page? I don't know much about serverside redirection n clientside Rt now i redirect page using response.redirect
-
how to maintain viewstate?I have search page. On search button, result is coming with View_detail_btn button. View_detail_btn redirects the page to detail.aspx. detail.aspx page have the button to go back to search result page I used html button for go back n call thr javascript function goToBackPage(){ window.history.back(); } It goes back but search page is refreshing n all result is going I want all search reult n criateria on page What i do to solve this?
-
how I can get id's of checked checkboxes, which are runtime added?Finally I got answer Just using Request object you can get all objects even runtime added on submit button : <pre>Dim arrSubMnu() As Integer = New Integer() {} Dim strT As String For Each strT In Request.Form If strT.ToString.Contains("Chk_") And Request.Form(strT).ToString.ToUpper = "ON" Then Dim strTemp As String = strT ReDim Preserve arrSubMnu(arrSubMnu.Length) arrSubMnu(arrSubMnu.Length - 1) = strTemp.Substring(strTemp.IndexOf("Chk_") + 4) End If Next</pre> (here set 'Chk_' as prefix to checkbox id's to find control easily)
-
load report gives an errorMr Abhishek, I added in web.config bt still having problem
-
load report gives an errorI want to add 1 crystal report on my form But following code gives me error for load report How can I solve this? testRpt.aspx
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="testRpt.aspx.vb" Inherits="Booking_Final_Booking_testRpt" %>
<%@ Register Assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
Namespace="CrystalDecisions.Web" TagPrefix="CR" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<link href="/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3/css/default.css"
rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<CR:CrystalReportViewer ID="CrystalReportViewer1"
runat="server" AutoDataBind="True"
Height="1039px"
ReportSourceID="CrystalReportSource1"
Width="901px" />
<CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
<Report FileName="CrystalReport1.rpt">
</Report>
</CR:CrystalReportSource></div> </form>
</body>
</html>testRpt.aspx.vb
Imports Crystaldecisions.crystalreports.engine
Imports Crystaldecisions.reportsource
Imports Crystaldecisions.shared
Imports Crystaldecisions.windows.forms
Imports System.Data.SqlClientPartial Class testRpt
Inherits System.Web.UI.PageProtected Sub Page\_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim crystalReport As New ReportDocument() crystalReport.Load(Server.MapPath("CrystalReport1.rpt")) crystalReport.SetDatabaseLogon("sa", "") CrystalReportViewer1.ReportSource = crystalReport
end sub
end Classand error is as
Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
-
how I can get id's of checked checkboxes, which are runtime added?Greetings, I have loaded checkboxes in asp table control at form load evevt; from database. Now I want to get all checked values in 1 array. I used for each loop & stored control in 1 checkbox object & if that is checked then add value in array. my code is as follows Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not IsPostBack Then fillControls() End If End Sub in fillControls(), I took datatable for Id & name. & added checkboxes as Dim objTr As New TableRow For intCnt = 0 To objDataTable.Rows.Count - 1 If intCnt Mod 4 = 0 Then objTr = New TableRow table1.Rows.Add(objTr) End If Dim objTd As New TableCell Dim objChk As New CheckBox objTr.Cells.Add(objTd) objTd.Controls.Add(objChk) objChk.Attributes.Add("runat", "server") objChk.ID = objDataTable.Rows(intCnt).Item(0) objChk.Text =objDataTable.Rows(intCnt).Item(1) Next And when user submit the form< I want to get all id's of checkboxes in 1 array for that I wrote, Dim arrSubMnu() As Integer = New Integer() {} For Each ctl As Control In table1.Controls If TypeOf ctl Is CheckBox Then If CType(ctl, CheckBox).Checked = True Then ReDim Preserve arrIds(arrIds.Length) arrIds(arrIds.Length) = ctl.ID End If End If Next ctl I couldn't find out where is error.I am not getting anything in array Please Help Me to solve this problem
-
help for MaskedEditValidator for date format?As per you told,I set that properties. But nothing happend Following is my design-code, Please let me know that all properties I set is correct or do any changes
-
help for MaskedEditValidator for date format?REspected all, I am using Ajax control : MaskedEditExtender & MaskedEditValidator for date I want date format in "dd/MM/yyyy" Please tell me, how can I sset this
-
How to set treeview Nodes checked property is true?Sir, I want to ckeck some childnode from TreeView, which have category(nodes of treeview) and subCategories(nodes of category nodes) information. When user click on btnModify, I want to show all details on page from database (whatever subCategories he selected at save time) In database I stored values of checked subCategories(at the time of Save record. For that I Used following code to get selected Nodes values For intCnt = 0 To TreeView1.CheckedNodes.Count - 1 arrSubCat(intCnt) = (TreeView1.CheckedNodes(intCnt).Value) Next Then I stored that onebyone in database At the time of modification, I retrive that subCategory values in object of datatable. Now I want to show checkmarks for those subCategories nodes, where values will match. For that i wrote, If objDT.Rows.Count > 0 Then For intCnt = 0 To objDT.Rows.Count - 1 TreeView1.FindNode(objDT.Rows(intCnt).Item (0).ToString).Checked = True Next End If But It gives error s Index Out of bound
-
advance search query result?Thanx very very much Really It's working
-
How to set treeview Nodes checked property is true?I have 1 treeView for category & subcategory. It is filling by database. I saved all checked nodes value of treeview control in table "AvailableSubCategory" Now, I want to make a modification in data, So that, I want to check only that subcategory Nodes of TreeView, that are in "AvailableSubCategory" table. How can I do this?
-
advance search query result?Respected Niladri, Thanx for the reply. Yes it is working correctly. But, I have N' number of amminities. User can select 1 or more than aminity for search a car, & result should be, all the cars, who have 'ALL SELECTED' amminities only Means, as per your dataentry, If user is searching car, which having amminities 2 & 3, he should get result as '1,2,5,6' If user is searching car, which having amminities 1 & 2, he should get result as '1,2,3,6' If user is searching car, which having amminities 1,2,3, he should get result as '1,2,6' Hope now I can clearely describe the problem
-
Help to sepration in checkListBox? [modified]Thanx I used TreeView & it's working I found article for same at Binding Data With ‘TreeView’ Control Asp.net 2.0[^]
-
Help to sepration in checkListBox? [modified]thanx but can u explain me more
-
Help to sepration in checkListBox? [modified]I have checklistbox for all types of sub-categories But I want to seprate sub-categories as per the category in checklistbox. how can i do this? modified on Friday, June 19, 2009 5:10 AM
modified on Friday, June 19, 2009 6:10 AM
-
How do I do that? [modified]i m using sql server 2000 with asp.net