I want to create a dnn like page modules in asp.net mvc site. Can any one have idea how i can do that. I am using asp.net mvc2.
Any tip of code will be great help
Thanks in advance.
hi guys,
i have a UITableView , within each cell i have 2 custom buttons, what i want to do is withing the didSelectRowAtIndexPath method i want to do an if statement on which button was touched
so i would effectively be splitting a cell in 2
but i have no idea how i could wright the if statements.
any help would be greatly welcomed
Thanks
Looking for a tool to UI testing on Linux .Platform used for development is django.
The idea is that the analysts will capture the tests thru some UI and it will be able to be played back over and over again.
Events are really awesome, and I wouldn't know what I would do without them, but they're a mystery to me.
I'm talking about events in a sense, a function(s) is called if a property, or value, a special event happens.
I have only the vaguest idea how these actually work. I know it's an observer pattern, but I don't truly know how it works and/or how to implement it.
Can someone explain that to me?
I'm looking for a way to specify required js files by an angular app. So that, we don't need to include an array of tag for all the files which may be required by some ng-app. The main idea behind this requirement is - we might not need to load all the resources on the browser at once. Which ever ng-app gets loaded onto the screen, will fetch its dependencies on its own from the server. Is there any existing way within angularJS to achieve this goal..?
Hey guys, I am working on an iPhone project where i need to change the width and height of a UIImageView dynamically. I have come across CGPointMake to change x & y positions alone, but what should i use for changing width & height alone??. There's something called CGSizeMake but i am not able to make it work. Can someone help...any idea abt this....???..
Thanks.
I have been experimenting HTML5 canvas by coding basic mind-mapping application. I have tried to find out if there is any javascript API used for managing object in canvas like collision detection between images or shapes.
I think it is not a good idea to write my own since there might be some good API around.
Anyone have clue or some information on this. I would very much appreciate.
I have this code below and as a test i have that alert below.
When i open firebug and i put a break point on the "debugger" and it doesn't fire but the alert does get called as a i get a alert popup.
Any idea why i can't capture this breakpoint ?
<script type="text/javascript">
$(function() {
$("#tabs").tabs({
selected: 0,
load: function(event, ui) {
debugger;
alert(ui.panel.id);
}
});
Hi,
I am working in a JSP/Servlet project (J2EE) with Eclipse.
Actually i want to dispaly the current user logged in the page and the localTime.
My JSP of LOG IN worked well but I have no idea how to display the user name in the jsp where he is logged.
Thanks for help.
I'm accessing a third party WCF service (I have no access to the service configuration) We're using SSL certificates for the authentication.
I'm getting this error when trying to access to any of the provided methods
The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The
authentication header received from the server was 'Negotiate,NTLM
I checked many google links and no luck so far- No idea what else to check on my side.
I originally had the variable cpanel named url and the code would not return anything. Any idea why? It doesn't seem to be used by anything else, but there's gotta be something I'm overlooking.
import urllib2
cpanel = 'http://www.tas-tech.com/cpanel'
req = urllib2.Request(cpanel)
try:
handle = urllib2.urlopen(req)
except IOError, e:
if hasattr(e, 'code'):
if e.code != 401:
print 'We got another error'
print e.code
else:
print e.headers
print e.headers['www-authenticate']
I'm loading a UIViewController into one of my Nav controller's hierarchies, which will contain some text and some images. At the bottom, I will want to create a expandable and collapsable tableview.
First off, is this idea possible? If it is, how do I add it and where do I place the data source and delegate methods?
Can I just make a separate subclass of the TableViewController and then add it to my ViewController as a subview?
Hello All,
It seems that these two operators realize pretty much same. So do you have any idea for the exact difference between the two ? When i need to use "=" and when "==" ??
Thank you,
Debugger
My application runs on windows XP restricted user account. The application needs Domain Name, Admin User ID, Admin Password in order to work out with Impersonation class for executing some piece of code with admin privileges. The Admin will also change the Password every 90 days.
Due to security reasons, i cannot maintain the admin credentials in my app.config file.
What else would be best idea ?
Hello guys!
I would like to hide the navigationbar with this code:
[self.navigationController setNavigationBarHidden:navbarAndToolbarHidden animated:YES];
Do you see? It is animated, but it doesn't animated when I check...
Also I tried to do this with toolbar with this code
[self.navigationController setToolbarHidden:navbarAndToolbarHidden animated:YES];
and it works perfectly.
Any idea how to fix this?
I'm SSH'ing in from my mac OSX (10.6.8) to a school server running centOS5 and when I attempt to use VIM, it won't stop flashing inside the mac terminal. Any idea's on how to fix this? Keep in my mind I do not have the authority to modify any /etc files or /bin files on the server, although I believe I can locally on my user. Also I would love to see anyone's really cool .vimrc config file they want to share.
hi,
I am trying to install SQL server 2008 express on windows 7 64 bit machine using the following command:
Setup.exe /qs /Action=Install /Features=SQL /InstanceName=XXX /SQLSYSADMINACCOUNTS="Builtin\Administrators" /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM"
I can not access the database and get "access denied" error. I narrowed down the issue to the /SQLSYSADMINACCOUNTS="Builtin\Administrators" parameter not working. When I change this parameter value to currnet user or try manual install it works
Any idea is appreciated.
Traits have been one of the biggest additions for PHP 5.4. I know the synatax and understand the idea behind traits, like horizontal code re-usage for common stuff like logging, security, caching etc.
However, I still dont know yet how I would make use of traits in my projects.
Are there any open source projects that already use traits? Any good articles/reading material on how to structure architectures using traits?
I am doing a normal viewBased application and have added another viewController(along with the xib). When the application starts, normally it will display its own view. I am doing an action and is going to another viewController class. From this class, I want to check which viewController is being displayed currently in the view.
How can I do this? Does anyone have an idea?
Hi,
could you give me idea how to calculate unique views of page? If i will increase counter on each page load it will be no good, otherside storing information of viewed pages in session looks like not ideal solution.
I would like to limit the accuracy of a call to GClientGeocoder.getLocations so that it only returns results with accuracy of say 0 to 3, that is from unknown to sub-region.
The idea is to find the rough area in which the user clicked.
I refered this link.I am using the uri for streetview:
Uri.parse("google.streetview:cbll=" + sv_lat_val + ","+ sv_long_val + "&cbp=1,45,,45,0.0&mz=0.0")
But the zoom level always in Zoomed state. 1.0 is the normal zoom. so i set it for 0.0 . still its not zoomed out. why? But it working in default Google maps App? Any idea?
Hi frens
I'm planning to explore the possibilities on how to make a screen lock better (like pattern based). It will be great help if someone points out the difficulty level or where to actually start digging. This is going to be my project idea for minor research paper. What do u guys think or if anyone has more ideas worth exploring, I would like to consider it.
reagrds