|
Inserting year in aspcalender so that we can change the year corresponding years date will display on calender
|
|
|
|
|
|
If we put a dropdown list for diaplaying the year.If we select an year how the aspcalender date will change according to the year specified.
|
|
|
|
|
hi
i am dynamically binding textbox into a asp table ,after entering some values onclicking save button on postback table dissappears...so i couldnt access the values inside the textboxes..
plz help
|
|
|
|
|
Try with Ajax !!!
Best Regards
-----------------
Abhijit Jana
Microsoft Certified Professional
"Success is Journey it's not a destination"
|
|
|
|
|
Where are you binding the textbox ?
you need to persist the values added/or bind the textbox in Initialize event. Also check the ViewState attribute of Page directive in the aspx page make true and try one more time
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Any controls that you add dynamically, you have to recreate every time the page reloads.
The state of the controls is stored in ViewState, but not the controls themselves. If you just recreate the controls, they will pick up the state from ViewState themselves.
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
Hi,
You can use Request.Form collection to get the values of textboxes parameter. For that you need to know their client ID.
I think, this will useful.
Regards,
Amar
|
|
|
|
|
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.
|
|
|
|
|