|
Hi friend!!
please can you guide me how to use AJAX controls in my existing application. i have installed AJAX Library.
|
|
|
|
|
I recommend reading the tutorials that came with it. It's way too broad a topic for me to cover in a forum reply, there are entire books written on that library
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi using ajax i did autofill the text in my textbox,
But same time when auto fill the text in that textbox that selected text value also i like to get...,
Means suppose in that textbox(autofill) i select one student name,
His "ID" also i want to get,
In dropdown we will use text field "name" and value field "ID"...,
Like that i want to display name in that textbox and consider person and his id want to be hidden area,
How to do that?,
Thanks & Regards,
Mageshh,
please don't forget to vote on the post
|
|
|
|
|
Hi Magesh!!
When you fill the textbox with student name automatically it will store in text property of the textbox at that time you can store Id in tag property of the textbox and u can retrieve the same as textbox.tag but i dont knw wether it works for autofill
|
|
|
|
|
Loading pages should be showed before the next page data are loaded. help me friends.
How may i know calculate the next page controls are loaded?
Is there any methods to find out this problem?
Note: I don't want using ajax controls
Gopinath.R
|
|
|
|
|
Please don't cross post. And please don't ask dumb questions. You obviously know the answer to your question, it is indeed AJAX. You have no other options.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Ok I ll use ajax. How want a solution when i search a list of data for a certain search. In the first page, i have to search and th resulted 50000 rows of data are loaded into the datagrid in the third page. third page will take time to load data so in the mean time i ve to show a waiting html page for browsers. Please help me using ajax...
First page - should be a search page
Second page - should be a loading page
Third page - should be a result page consists of bulk of data in datagrid
Please help me sir.
Thanks
regards
Gopinath
Gopinath.R
|
|
|
|
|
vingo_mail wrote: and th resulted 50000 rows of data are loaded into the datagrid in the third page
Wow - how do you hope your users will navigate that much data ? I hope you have viewstate turned off ?
My suggestion is to use a gridview and use paging so that users don't see that many records at once.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Ok how can i know the controls and data are loaded in the next page before the page showed?
Thanks Chris for ur fast reply.
Gopinath.R
|
|
|
|
|
I'm not sure I understand the question. How can you show a 'loading' page ? By having your page do an AJAX callback that loads the data, and showing a floating DIV or something else that says 'loading'.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
U can't understand. Oh my god. please take a look on the following site url
"http://www.lastminute.com/site/travel/hotels/"
and do search on the hotel search panel and u can see the loading page, after that the search result page will be displayed.
I want to know how could they done it... reply me. I m still finding solution I can get it yet.
advance thanks for your help chris.
Gopinath.R
|
|
|
|
|
Yep, that's what I understood you to want.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Oh my good time. u understood chris. Could you say some solutions or ways to get it. Please chris. I hope u ll come with some solution.
thank you
Gopinath.R
|
|
|
|
|
Hi chris. Come on friend i need ur help... could you find the solution?
Gopinath.R
|
|
|
|
|
Can someone please help me?
I am developing a form in vb where I have a grid built on the fly based o a table. This grid is 2 columns, change and a description. I am using the first column "Change" as a linkbutton telling me what row I am editing. I use this logic in other places without problems, but I don't know why this will not work on this page. Here is my code:
Dim TableString, mVar As String
mVar = """"
TableString = ""
TableString = "<table border=" + "1" + " bordercolor = " + "000000" + " cellspacing = " + "0" + " cellpadding = " + "0" + " >"
Try
mSqlConn.Open()
sqlRdr = mSqlCmd.ExecuteReader
While sqlRdr.Read
Try
TableString = TableString + "<tr>"
Dim Typenum As LinkButton = New LinkButton()
TableString = TableString + "<td id = " + mVar + "Typenum" + sqlRdr("Typenum").ToString.Trim + mVar + " runat=" + mVar + "server" + mVar + "> <a href=" + mVar + "javascript:__doPostBack('Typenum" + sqlRdr("Typenum").ToString.Trim + "','')" + mVar + ">Change</a></td>"
TableString = TableString + "<td bgcolor = " + sqlRdr.Item("int_bguser").ToString.Trim + " forecolor = " + sqlRdr.Item("int_fguser").ToString.Trim + ">" + sqlRdr.Item("lngdesc").ToString.Trim + "</td>"
TableString = TableString + "</tr>"
Finally
End Try
End While
Finally
mSqlConn.Close()
End Try
TableString = TableString + "</table>"
lblType.Text = TableString
I am also sending the rendered code:
<table border=1 bordercolor = 000000 cellspacing = 0 cellpadding = 0 ><tr><td > <a id="typenum00" href="javascript:__doPostBack
('typenum00','')">Change Colors</a></td><td bgcolor = SpringGreen forecolor = Black>Full</td></tr></table>
I have no other references to java and I am a very basic programmer, so please keep the answer simple
Any time we click on Change I get a error - object expected.
Any ideas?
Lois
|
|
|
|
|
Using the GridView-object makes working with data in a grid more easily.
There are tons of examples for you to make it like that.
ASPX:
<asp:gridview id="myGridView" runat="server" datakeynames="ID">
<colums> <asp:HyperLinkField DataTextField="TypeNum" HeaderText="TypeNum" />
<asp:boundfield datafield="int_bguser" headertest="BG user">
in Your ASPX.VB you create a Method which is called IN the page_load eventhandler.
In that created method you retreive your data from the database and DataBind it to the myGridView component.
Good Luck!
|
|
|
|
|
hello. i m creating a weblist. i wanna save to database website meta keywords which are added my website. for example a user entered to my website and added him/her web site addres to my database. (www.sitename.com) when i allowed this web site publish in my website, i wanna automatically add meta keywords (title, description...) of this web site to my database. how i can this? how i can access to websites meta tag?
regards.
viva la commune
|
|
|
|
|
Hi, i'm in the process of learning ASP, so this is probably a really stupid question.
I'm trying to create a simular effect to the green menu bar the code project has above. On the left i would like the menu, and on the right, the login status.
I have tried a few things with div tags and styles but not got it working correctly. I notice above it is done with tables. Is that the only / best way to do it.
This is the snipet of code im working at the moment. The left and right styles just have float set to left and right (surprisingly).
<div id="mainMenu" >
<asp:SiteMapDataSource ID="siteMapDataSource" runat="server" ShowStartingNode="False" />
<asp:Menu ID="menu" runat="server" DataSourceID="siteMapDataSource" Orientation="Horizontal"
DisappearAfter="200" StaticEnableDefaultPopOutImage="False"
CssClass ="left">
</asp:Menu>
<div class="right">
<asp:LoginView ID="loginView" runat="server">
<LoggedInTemplate>
<asp:LoginName ID="loginName" runat="server" />
</LoggedInTemplate>
<AnonymousTemplate>
You are not logged in
</AnonymousTemplate>
</asp:LoginView>
|
<asp:LoginStatus ID="loginStatus" runat="server" />
</div>
</div>
<div id="content">
<asp:ContentPlaceHolder ID="mainContent" runat="server">
</asp:ContentPlaceHolder>
</div>
Thanks in advance for any help.
|
|
|
|
|
Hello friends,
I want to transfer some data from one form to another form.
But i don't want to use session or querystring.
Is there any other way to transfer tha data.
Deepak Nigam
|
|
|
|
|
Help yourself to these[^] links.
|
|
|
|
|
you can use Hidden field.
mitesh
|
|
|
|
|
Why is it that I keep answering this same question lately ?
Create your two pages as controls, and show them both on the one page. Then viewstate will hold the data for you, your main page just has to move the data between the pages as it shows/hides them.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
How do I find my servername and port number on my own computer?
I want to do this on my local before i use a hosting.
|
|
|
|
|
They don't relate to your computer, they relate to your ISP. Check Out look, they will be in there, or you wouldn't be able to check your mail.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I have a DLL with some win controls in it that i am embedding in a ASP.NET page. However, when ever i want to select from the database i get OleDbPermission exceptions even after i've done: Demand(); or Assert();
Is there a simple way of just telling IE to just trust the DLL and ignore all the security issues since this is a personal project and will only ever be run on my computer.
Regards,
Gareth.
|
|
|
|