|
Hello Friends,
Can anybody help me about Microsites.I've to create microsites dynamically as done in this url
http://www.magicbricks.com/property/faces/jsp/indexc.jsp[^]
and now please click on the banner(s) being displayed here like Luxury Villas of Nancy. Can i create the microsites dynamically.
|
|
|
|
|
Now when I run my asp.net web application using the default web server (http://localhost: <portnumber>), the application runs successfully and I can access my sql server 2000 database. I granted permissions to ASPNET user and it works fine.
But when I created a virtual directory on my iis for this application, an error occurs when I try to access my database he says login fails for "NADA\ASPNET".
I don't know why, in the properties of the directory I checked "enable anonymous access"
I granted permissions to ASPNET user in the sql server but I still can't access it through this virtual directory...but when I access it with the default web server through the IDE, I can access it just fine.
What's wrong exactly?? I can't seem to find any reasonable explanation.
I'm really worried about deployment..because this application will be deployed on the iis of the server and there must be a virtual directory that has correct permissions..so what am I gonna do then!!
|
|
|
|
|
Hi
I have a variable in javascript and in the aspx file i have written the code like this
objhidquestions.value= objSelectedQuestion ;
var abc='<%=Utility.TripleDesEncrypt("' + objhidquestions.value + '")%>'
var url= "../popUp/ViewQuestion.aspx?id=" + abc ;
when i get the value of the query string of objhidquestions.value is not there instead in get the name of the object as "objhidquestions.value"
Please
Regards
|
|
|
|
|
Well, of course. I recommend buying a book on ASP.NET, you plainly are very confused about how it works. Javascript runs on the browser, it is not C#, and does not run on the server. You've put + objhidquestions.value + in quotes, and therefore you will get these values verbatim. In fact, you are asking C# to evaluate the result of something that javascript has not yet been asked to create. The only way you could do this, if the value of objSelectedQuestion changes, is with AJAX.
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 freinds
i have problem can i use datareader with store procedure.
it's urgent, i don't know much about how access data from store procedure through codding in vb.net.plz it's very very urgent.
|
|
|
|
|
Janvi wrote: it's urgent
Janvi wrote: it's very very urgent.
If it's so urgent, why didn't you google for some of the many source examples on the web, or post some source code, so we have some chance of seeing where your error is ?
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 )
|
|
|
|
|
Janvi wrote: i have problem can i use datareader with store procedure.
Yes, of course you can.
Have you tried it? There is not much point in trying to help you with a problem that you haven't run into yet...
Janvi wrote: t's very very urgent
That doesn't count for much in a public forum. If it really was that urgent, you would pay for professional help instead of trying to get it for free here.
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
hi Janvi,
You can use DataReader with Stored Procedure easily in following way.
SqlDataReader reader = SqlCommand_Object.ExecuteReader();
If you wanna full article to learn new ways to use all functionality, just visit the following link.
http://www.akadia.com/services/dotnet_data_reader.html
Hope this will help you.
Thanks & Regards
dilipv
|
|
|
|
|
This is my code:
What mistake i have made? Why the event is not firing ?
protected void GridView1_OnSelectedIndexChanged(object sender, EventArgs e)
{
Response.Write("Selection");
}
Inline Code:
<asp:gridview id="GridView1" runat="server" autogeneratecolumns="False" allowpaging="True" pagesize="5" showheader="False" onselectedindexchanged="GridView1_OnSelectedIndexChanged">
<columns>
<asp:templatefield>
<itemtemplate>
]]>' width="40" height="50" src='<% #DataBinder.Eval(Container.DataItem,"ImagePath")%>' id="img" runat="server" />
<asp:image id="Image1" imageurl="">]]>' runat="server" />
<columns> <asp:templatefield>
<itemtemplate>
<asp:linkbutton text="">]]>' runat="server" ID="BookTitle">
<asp:label runat="server" text="Author" forecolor="ButtonShadow" id="AuthorLbl" font-size="Small"> | <asp:linkbutton runat="server" id="AuthorLBtn" font-size="small" text="">]]>' > |
VanithaVasu
|
|
|
|
|
i have my forms and usernames in the database , which tells , which form pertains to which user.
Now my question is , still there is any need to utilize the autorization tag in the web.config file ?
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
Do you want to authorize certain users to view certain pages, or do you want to handle it by having your database authorization fail on pages that a user is not allowed to see ( and any non data driven pages will just always work ) ?
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 )
|
|
|
|
|
I want to handle it by my database .Still i need the authorization concepts in the web.config file ?
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
Hi refer this site:
http://www.codeproject.com/KB/webforms/ReportViewer.aspx[^]
And did my reportviewer,
but in that its showing error in sqlhelper place,
But i used same code how they said in that site,
whats the probs?,
Thanks & Regards,
Mageshh,
please don't forget to vote on the post
|
|
|
|
|
If you have a question about an article, ask the article author. That's why there's a forum under teh article.
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 all,
I have made a TreeView, it displays everything I want. Now I have set:
"OnSelectedNodeChanged", to fire my event "SelectNode". Now the event works fine, however it posts back to the page (reloads the page). Is there a way that I can rather just call a JavaScript function, rather than have to reload the entire page?
For example, I click a TreeNode, I would like to pass the TreeNode.Value to a JavaScript function, without reloading the page.
Regards,
CD
|
|
|
|
|
Hi All,
I hope this is not the wrong forum for my question, and if it is I apologize. I went out and got me an external hard drive so that I can install VS2005 on it. I figured it would be a cheaper alternative to buying a laptop, and it would allow me to take the external HDD any where and run VS2005 on most any machine. In order to install and run programs in VS2005 such as ASP.NET, VB2005, etc. on the external HDD, must I install an operating system on the external HDD? Has anyone ever done this? I've read that this can not be done, but just to find out if that is the absolute truth, I've decided to post this question. Thank you in advance for your response.
|
|
|
|
|
|
hello friends. i must do a thing about url rewrite. i must make show my web site url like www.mysitename.com/abc. u can see this for example site www.blankcliks.com. if you will enter that web site, you will see the url like www.blankclicks.com/www.facebook.com or www.blankclicks.com/www.google.co.uk. if you have any idea, you would write; i will be happy. thank you. (bytheway, i m sorry for my bad english)
viva la commune
|
|
|
|
|
Good afternoon,
I'm attempting to create an ASP.NET website that has two horizontal frames. A top frame will be a frame that loads back data from 6 sql stored procedures and dumps them into datagrids. The bottom frame will contain several buttons, listboxes, and other user interaction controls.
The problem I'm having is that I want the user controls in the bottom frame to load first so that the user can use them while the queries run one by one in the top and fill out the scoreboard.
I have tried both an inline frame (using one for the top section) and normal frames, but I can't get them to do what I'm looking for. Can someone point me in the right direction?
David
|
|
|
|
|
Since they are in frames they should load independently of each other, as long as the target pages are different. What behavior are you seeing?
only two letters away from being an asset
|
|
|
|
|
What I'm seeing is that the top frame (which runs a sql stored procedure in it's page load event) remains blank along with the bottom frame. When the data grid comes back in the top frame, the test button appears in the bottom frame. This takes around 10-15 seconds, which is consistant with how long I expect the stored procedure to take.
I had expected the button in the bottom frame to pop up immediately and have that frame be usable while the top frame continued to wait for the sql data to come back.
David
|
|
|
|
|
Try some AJAX type magic
only two letters away from being an asset
|
|
|
|
|
I will look into AJAX...it's something I've never used before. Do you know any good places to start? Most of my asp.net programming has focused on doing as little as possible on the html side and as much as possible on the VB Code behind.
David
|
|
|
|
|
Another possibility may be to be to load the top page empty, so the bottom will also load, then immediately kick off a postback on the top to load the data.
only two letters away from being an asset
|
|
|
|
|