|
thank u pradipta,
surendra.
surendra
|
|
|
|
|
Hai Friends,
I have a Requirement ,in that Dynamically Textboxes and Dropdowns will be generated
then page will become large, when i click on any dropdownlist(autopostback = true)
it is being post backed, its again starting from page begining
agin i am going to that dropdownlist position,again doing some thing
not doing like this,when i click on it, post back should be done and ctrl should be there only,is there any solution for it?
actually iam using SMARTNAVIGATION = TRUE,It is working fine, postback is done, ctrl is there only
but some times ,it is giving problems some times
we can use ajax for it
but other than that is there any solution for it?
|
|
|
|
|
smart navigation is not a good solution, it would not work in Mozilla.
Pradipta Basu
|
|
|
|
|
why not... create web request thru javascript. But honestly speaking as per my understading we are all buying same fruits but with different color...
AJAX, POSTBACKURL, XMLHTTPRequest all feature do the same job more and less....
what is your view...
Amit Gugnani
|
|
|
|
|
I have a GridView that displays rows of pictures along with text that describes the pictures. One of the columns in the GridView is a template column. In that column I have added a HyperLink. When a user clicks on the HyperLink I want it to go to another page but I want to pass this page the value from another column (my primary key column) in the GridView. So far I have defined the PostBackURL in the HyperLink but how can I get the value from my primary key column in order to pass it as a parameter? Thanks.
|
|
|
|
|
U can define DataKeyNames="PrimaryKey" in the html of gridview and on code behind u can do this way:
Dim oGridViewRow As GridViewRow
oGridViewRow = CType(CType(e.CommandSource, Control).NamingContainer, GridViewRow)
ID = grdTitlePlantInformationView.DataKeys(oGridViewRow.RowIndex)("PrimaryKey").ToString
For redirect to another page write this on Row Command of Gridview:
Response.Redirect("frmAnotherPage.aspx?ID=" & ID & "&info= " & e.CommandName)
|
|
|
|
|
What event in the code behind to I add this code?
Dim oGridViewRow As GridViewRow
oGridViewRow = CType(CType(e.CommandSource, Control).NamingContainer, GridViewRow)
ID = grdTitlePlantInformationView.DataKeys(oGridViewRow.RowIndex)("PrimaryKey").ToString
|
|
|
|
|
could anyone help me on how i can connect asp.net page to read and displa data from an excel file in asp.net page.
The first row of the Excel, i want to use as the fields contains caption names and the names is made up of characters combined with other charcaters like (%, ', -, /, @).
t.aransiola
|
|
|
|
|
Where are the xls files, on the client or on the server ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
the Xls file is on the client. Im also considering connecting the asp page to the Excel file on a remote(web) server
thanks
t.aransiola
|
|
|
|
|
|
You can make an web service that shar both application.
Parwej Back...............DON of Developer.......
Parwej Ahamad
g_parwez@rediffmail.com
|
|
|
|
|
just pass it in the query string... in App A do:
<br />
Response.Redirect("www.appB.com/?run=yes);<br />
Then check it in AppB, you could also encrypt the querty string to protect its contents.
|
|
|
|
|
you've asked this at least 3 times, with at least two accounts.
The reason the answers do not change is, reality does not change. If the answers you're getting don't answer your question, try rephrasing it, explaining what it is you want to do, which these answers don't help you with. Or, accept the possibility that what you want to do is impossible. A can only find B if A launched B in the first place. As I've told you at least twice.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Has anyone used web parts and Atlas, or ASP.NET Extentions as it is now known, Update Panel?
I found this [^] video showing the exact functionality I need but it was done with a beta version. The video above using a setting in the tagMapping element of the web.config file, however I can't find any reference to how it works with the release version.
The problem is that when placing web parts (nothing to do with SharePoint) on a page inside an update panel and clicking the verb menu (close, minimize) for any web part. The first action works fine however the menu no longer works.
only two letters away from being an asset
|
|
|
|
|
Hi Mark,
From what I know the WebPart is still under development, it means that it's in the future features of the ASP.NET AJAX and this error (as well as other errors with the web part/ajax) is still remained in the January CTP.
|
|
|
|
|
I am working on an intranet application that was written in ASP with VB6 that hid everything but the window and title bar. With the upgrade for IE7 out I have the need to either reproduce this in IE7, which doesnt look promising, or to replace the use of the querystring with something other than session since we utilize a web farm environment. So far the POST method that a co-worker has found has not worked correctly.
Another issue with this is the information that will be stored is sensitive.
Any ideas?
Thanks alot,
Cleako
|
|
|
|
|
Just to clarify: your currently using the query string to store sensitive information that obviously you want hidden if the address bar is visible?
Have you looked at using a central session store for the web farm? Alternatively I'm sure theres some way to store the session data on the client.
|
|
|
|
|
Yes we are currently utilizing a hidden address bar to hold login/other information in the querystring. The site itself utilizes hidden fields to hold various variable values but the problem is mainly on the login portion where it is a separate "application" so I am unsure if the session between apps would even be saved and when I spoke with the server admin he didnt seem to know anything about a session state management server. Previously the only way that anyone knew of to transfer that information was through a querystring.
Cleako
|
|
|
|
|
Just noticed the "ASP/VB6" part - apologies I was coming from a .NET perspective, can't help you with that one!
|
|
|
|
|
To keep sensetive information in the querystring is a bad design. Be grateful for how IE7 has drawn your attention to this problem.
If you want to keep the information safe, it would never reach the browser. One way to do this is to only send an identifier to the browser, and keep the data in some centralised storage, like a database.
If you have to send the data via the browser, you have mainly three options; querystring, form data and cookies. Neither is really safe, so you will have to choose the one that is the least bad.
If you are only sending the data from server to server without the need for the browser to access the data, you could consider encrypting the data.
---
Year happy = new Year(2007);
|
|
|
|
|
Hi
Fore creating a UI on a Tool Box HTML as well ASP.Net control is given.Me confuse when to use which and why ?
Thanks
Binod
|
|
|
|
|
Both have their own signicficance if you want to do Client side coding then its better to use html controls else at the server side you should have control which could render at server side so use asp control or html control with run at server
|
|
|
|
|
Using the HTML controls will give you more control over the resulting markup but certain options (such as manipulating a drop down list) are only available on the ASP.NET controls.
|
|
|
|
|
ASP.NET controls - classes from System.Web.UI.WebControls namespace - are meant as abstraction for controls that goes beyond simple HTML. Web controls are typically compound of lot of javascript, HTML and server-side logic. You use HTML controls - from namespace System.Web.UI.HtmlControls when you don't need that abstraction, when you just need to control HTML elements from server-side.
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|