Hi,
When you use a GridView as a ListViews view mode, you have entered yourself into a world of column-wise binding....is there a way for this not happen, or a work around that provides the listview with column headers but allows row-wise binding?
Thanks,
U.
...
I understand that this problem is incredibly common and I have read through quite a few answers but am having trouble understanding how the code works. This works:
-(void)textFieldDidBeginEditing:(UITextField *)sender
{
if ([sender isEqual:txtLeaveAddyLine1])
{
//move the main view, so that the keyboard does not hide it.
if (s...
Hello,
I'm working with Android 2.1 and have the following problem:
Using the method View.getDrawingCache() always returns null. getDrawingCache() should return a Bitmap, which is the presentation of View's content.
Example code:
public void onCreate(final Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setConten...
I'm using projected texture shadows coupled with lights to light a large sports field at night. To do this I'm using shadow cameras which I place in the position of the stadiums lights and shine it down on the field at the appropriate angle.
The problem with this method is the textures to which I render the shadows into have to be very ...
How do i get an IGrouping result to map to the view?
I have this query:
var groupedManuals = manuals.GroupBy(c => c.Series);
return View(groupedManuals);
What is the proper mapping for the ViewPage declaration?
Inherits="System.Web.Mvc.ViewPage<IEnumerable<ProductManual>>"
...
Hi,
I've got a custom view and I want to get the X and Y coordinates of a user click. I've found that I can only get the coordinates from the onTouchEvent and an onClickEvent won't fire if I have an onTouchEvent. Unfortunately the onTouchEventfires when the user drags the screen as well as clicking.
I've tried to differentiate betwee...
Hi, using ASP.NET MVC 2 I have a navigation menu inside my Master Page. In the navigation menu, I am trying add a class to the that the current page relates to (i.e., home page will add class="active" to the Home button). I'm trying to consider scalability and the fact that I don't want to change individual pages if the navigation chang...
I have a button as in the following:
<Button android:text="Submit" android:id="@+id/Button01" android:layout_width="fill_parent" android:layout_height="wrap_content"></Button>
In my onCreate event, I am calling Button01 like this:
setContentView(R.layout.main);
View Button01 = this.findViewById(R.id.Button01);
Button01.setOnClickLis...
Hello Guys,
I am playing around with CouchDB to test if it is "possible" [1] to store scientific data (simulated and experimental raw data + metadata). A big pro is the schema-less approach of CouchDB: we have to be very flexible with the metadata, as the set of parameters changes very often.
Up to now I have some code to feed raw data...
After going to the process of adding the various attributes like insert,delete and update.But when i run it through the browser ,editing works but updating and deleting doesn't !(for the update and shows the same thing for delete,my friends think i need to use codes to repair the problems,can you help me please.it shows this:
Server Err...
Is editable grid available in yahoo UI..
please give me link...
...
I'm about to do a PHP website using the MVC pattern. I am not using a framework as the site is fairly simple and I feel that this will give me a good opportunity to learn about the pattern directly. I have a couple questions.
Question 1: How should I organize my views? I'm thinking of having a Page view which will have the header and fo...
Hello,
I have problems drawing some simple lines in a view object (Android programming).
First I created the layout with the view element(kind of painting area) in it (XML file).
[...]
< View
android:id="@+id/viewmap"
android:layout_width="572px"
android:layout_height="359px"
android:layout_x="26px"
android:layout_y="27px"
>
[...]
....
I use TempData["message"] which internally uses session.... It works for me but when i do a
return RedirectToAction("Create"); my other values are not restored because i am redirecting to Create view... Any suggestion how to retain the values of textboxes in the view.....
if (!regrep.registerUser(reg))
{
TempData["mes...
What is the easiest way to generate list view for a model, with clickable headers and search (filter) field, more-or-less like the admin site? I read a bit about generic views, but I don't see a simple solution there.
...
Hi, I have a page for creation of dynamic entities.
<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
...
I have two actions:
public ActionResult Create()
{
dynamic model = ...
return View(model);
}
[HttpPost]
public ActionResult Create(dynamic(1) entity)
{
...
}
Well, th...
For anything but trival view models, I use a view model builder that handles the responsibility of generating the view model object. Right now, I use constructor injection of the builders into my controllers but this smells a little since the builder is really dependent upon which action method is being executed. I have two ideas in mind...
I have a main view that has has two buttons on it that control methods to display the next image and display the previous image. In this case the 'Image' is a class that inherits from UIImageView and has multiple pictures on it that you can interact with, and I call this class a 'Pane'. The pane itself handles all the user interaction it...
hi..
please someone help me about this.
i need to implement a list view with checkbox and each item should be assosiated with images.
ex:
[image1] list_item_1 [checkbox]
[image2] list_item_2 [checkbox]
'
.
.
please help me
...
OK, here goes. I am trying to make a view that shows this:
+---------+---------+-------+--------+------------+---------------------+---------------+-------------------+-------------+
| post_id | status | title | body | ip_address | time_stamp | category_name | sub_category_name | post_type |
+---------+---------+-------+--...