Have landed into a scenario.
I have a user control in which I have few images. First image helps me to open a pop-up(different aspx page). I do some operations and save some stuffs to the DB, it has few textboxes and list views etc. This works pretty fine.
I need to implement the Edit functionality to the same popup. I haven't done this kinda thing earlier, hence don't have much idea on it. Googling din't too help much.
How should I go ahead and implement the Edit functionality.
I need to open the same pop up with the textboxes and listviews loaded with values from DB and need to edit that.
I am dilemmic as to how to start on this.
Pointers will be highly appreciated.
Regards
Anurag
Related
Ok, so maybe my search syntax is wrong here, this could have very well been covered in stackoverflow but i've been unable to find anything after hours of searching. Be warned, I am a novice developer when it comes to this type of stuff and would appreciate any guidance, help or pointers to accomplish the goal. I'm open to suggestions of any type! :)
So, I have a site http://www.animetip.com
On this site we have a popular feature called a "jump menu" which allows a user to quickly navigate directly to the page which contains the anime series they would like to see an episode in. Essentially we have every series on the site (over 1000) broken down in an a-z list. When a user hovers over a letter, the menu will drop down and display all series that begin with that letter. A user can then go to the series they'd like to view and click on it to go directly to the page.
The issue with this is SEO. We are being penalized due to the number of links on the page. What we need to accomplish is the same (or better) functionality while reducing the links loaded in the page. If we could come up with a way to create the menu and have the link itself not be served until its clicked on I believe that would resolve the issue.
What is the best strategy for doing this? I am no expert by any means, but I was thinking that putting all the links in mySQL and then calling the link as its clicked would be ok, but a friend cautioned me that it would cause a performance hit. I have also reviewed material which indicates you can do the same thing using an array to store the links and then call them as they are needed using PHP. I grasp the concept of doing that but could use a stub type example to get me started.
The site is built on Wordpress with a completely custom template / theme.
Someone has commented that the topic wasn't researched. Unfortunately I've spent lots of time researching it, the problem is that I think I'm using the wrong terminology to describe what I need to find. If anyone would care to give me the terminology or a good place to conduct further research (even a few keywords!) I will be MORE than happy to go do that.
Thank you for any help or tips to information I can learn from!
Brett
Try using ajax so that the links are not visible in the actual source code and while clicking the a,b,c links it will call a separate php file and display the output from the db on the fly. I hope this will resolve your issue. Thanks
I'm working with ASP.NET 3.5 C#
I've seen a good few questions like this around but havn't actually come across any articles with the answer (maybe just been unlucky with my research!).
Basically I'm looking to have say 3 links (or buttons) on a page, which in turn will dynamically load a specific user control into an update panel with AJAX.
Then I would like the usercontrol loaded to be capable of handling postback within the update panel (basically no page refreshes) to do its processing and return output.
Is this possible?
Does anyone have any pointers to articles/blogs covering this?
I've seen many, but none covered handling postbacks from the user control or handling the postbacks within the update panel.
I may even have the wrong end of the stick here.
Any tips would be great to start me off :)
Cheers!
Have a look at this blog post.
It may not be exactly what you want (Postback issue), but can be a good alternative solution to get started with.
I mainly do C# ASP.NET projects in VS2010. Once you've put masterpages and other things in place, I find the design view pretty much goes grey and elements can't be selected. This isn't so bad except that sometimes you need to access the little 'smart tags' at the top right of controls to do things.
In particular I'm trying to do this with some telerik controls, though the issue isn't confined to them.
Anyone have a handy tip to access this functionality (or miraculously make design view work!) ?
Thanks!
PS. I read in a few places that Shift-Alt-F10 may help. I tried putting my cursor in the control's tag and using it, no luck. Also I clicked the little rectangle below design view to select the control and tried it again- no luck.
Yeah, searching for VS design-time troubleshooting tips in the asp.net forums or MSDN is probably the best start to identify and eliminate the abnormal behavior.
it looks like nobody has posted on this.
I have a very typical set up, an ajax update panel is updated when a drop list of offices changes. Each form could have it's own values, for instance each store will have it's own list of employees. Here is where the fun begins. The form can be changed by the drop down (new office) or validated and submitted.
On drop down change, I create a new instance of the same rad combo, bind it to the current data, confirm that the correct data is bound. Then on the return trip I see selected the default user from the previous user. This is a composite control, and firebug shows me that the value for the "text box" that simulates the combo still has the old value. I'm suspecting onViewStateLoaded, but turning viewstate off for the Telerik didn't help any. II don;t need it anyway, cuz I have to put the selected value in another hidden to make a cross page post on submit. Any ideas before I hack this up really bad? Any will be appreciated.
I would answer your question directly, but I don't have enough info, as I was not able to duplicate the issue here locally.
Have you tried contacting Telerik support, or using their forums? I've found them to be quite responsive, even offer custom dll's for some solutions.
Like Jeff, I have a difficult time rebuilding your scenario from the description. The fastest way to solve this problem is to open a Telerik Support Ticket. If you can provide a basic sample the exhibits the problem, the support team will quickly respond with a solution. Don't miss that valuable part of your Telerik purchase! That's what separates commercial tools from unsupported options.
If you'd prefer to keep troubleshooting, I'd try stepping back and simplifying your scenario. It sounds like some hacking has already begun and I think that may be leading to unusual results.
Specifically, the step where you create a new RadComboBox on post should not be required. If you can share some more code examples, I'll be happy to help further.
I chose AjaxToolKit to build a WebForm login. Has anyone else had problems trying to do this? I'm planning to use DropShadow Extender and RoundedCorners with Panels, but this is my first time working with panels.
Please check this link.
I want to put a login panel into something like the screenshot shows, whenever the user clicks a button. This would be similar functionality to what happens on StackOverflow when you try to insert an image or hyperlink in 'ask a question'. Is this possible? How much effort is it?
If you are talking about 100% using ajax control toolkit, check out the ModalPanel example.
You could also go for a javascript library option like iBox, which would be a bit harder to integrate, but not much.
I much prefer doing this manually with javascript and css, if you know what you are doing it is not that hard, if you aren't familiar with those technologies it may take more work. Here is a good post that walks you through the basics
I use AjaxControlToolkit extensively in my application and its really simple.Being server side ajax I does emit a lot of javascript on your page. I suggest you use AJAX only where its required i.e. in cases where a page does lots of things and you want to make it more responsive something like a Dashboard kind of app.