User Profile & Activity

Handy Surya Support
Page
of 223

Hello,

I think you missunderstood my explanation. Previously, You asked if this can be done on the fly.
The answer is no because WebDesktopManager does not have any properties or method to process FlyPostBack in serverside.
However, you can create a new window from server side only if you do FullPostBack mode.
Please see my attached sample. I created a window from single asp.net button (server side).
You can see that it requires FullPostBack.
If you want to have a flypostback, you will need to use client side approach.

Regards,
Handy

Posted: February 8, 2011 10:04 PM

Hello Mark,

Please see my attached sample. When click a row in WebGrid, it will open WebDialogBox which load the detail in another WebGrid. Please let me know if my sample closely with your requirement or not.

Regards,
Handy

I am sorry that I was mistaken in replying the thread. Please feel free to let us know when you face an issue when implement your scenario.


Regards,
Handy

Posted: January 28, 2011 4:53 AM

Hi Eric,

After discussed with our developer, they consider to make an enhancement to avoid  the /03(¢) chararcter. A work item has been created regarding this request.

Regards,
Handy

Posted: January 28, 2011 4:52 AM

Hello Doug,

I think this is not possible to do because we don't have a properties or it is not designed for text.
Can I know more specific about your scenario such as screenshot?

Regards,
Handy

Posted: January 28, 2011 4:50 AM

Hello Doug,

Unfortunately, CollapseImage and ExpandImage properties are not not designed for expnad/collapse in hierarchical. In order to do this, you will need to use localhost (not filesystem) project. Then, set EnableWebResources properties as ScriptOnly.
The images would be retrieved from common library. You can see the source from developer tools or firebug and replace the images physically.

Regards,
Handy

Hello,

It's true that exporting would not work in client bindin via WebService. This is already default behaviour because exporting requires data which should be returned from server.

About the rest issue, would you mind to send me a simple runable sample that replicates this issue? We will need them to investigate your issue.

Regards,
Handy

Hello Eric,

The slider issue has been fixed in WebGrid 7 hotfixes.

But after a closer look I saw that you implemented code in the InitializeColumn event for both grids. There you set the width of the first column according to the selected dropdown value. This is not possible.

The value of the dropdown may only be used to pass it to the database when getting the data. What you are doing here is actually hardcoding the database result. If I would have to implement it this way, I would need a second database call in both InitializeColumn events. As mentioned, the database call takes 30 seconds or longer. If I add unnecessary database calls at other places again, this will greatly reduce performance to make the page unusable.


Actually, I am a little confused about this. I still could not figure out another way.
If I am not mistaken, you also set the Caption column based on DropDownList value, right?
Also, In my current sample, I am not sure If it would be called to database again.
In the page load, the value of DropDownList should be only called once, except in FullPostBack mode.

My approach does not require FullPostBack or use Ajax Update Panel.
When change the dropdown value, the changes would be saved in a hidden field from client.
So, I don't think it would be another unnecessary database calls again in DropDownList.

Regards,
Handy

Hello Nicolas,

I haven't received any response from our developer teams. I will send reminder/notification to them.

Regards,
Handy

Posted: January 27, 2011 10:03 PM

Hello Dennis,

I am unable to run your sample. It is missing SQL database. I tried to create a table that similar with your AccessDatabase, but it seems the datatype of some fields are not correct. Would you mind to send the database? We need to ensure that all the data type are the same for the testing.

As far I see, in the Access database might be have a different data type with your current SQL.
e.g Please tried to see the parameter in insert, delete, and update in your aspx.
Try to compare between between SQL and Access.

I also noticed that you were using auto increment/identity for the ID.
Perhaps, you can let us know what exactly the error message.
As far I know, when you use auto increment for the ID, you will need to handle select identity.
If not, when you insert a row, the current ID is not correct. This will cause error when you delete your added row, except you refresh the grid before delete your added row.

Regards,
Handy

Posted: January 26, 2011 11:12 PM

Hello,

You will need to use GetFrameElement(). 

e.g             combo.GetFrameElement().childNodes[2].childNodes[0].style.color = "Red";

Fyi, WebCombo TextBox style has 3 modes such as active,normal and over.

When you set from element, you only set for normal mode. You need to validate so it can work such as in 3 modes.

Regards,
Handy

All times are GMT -5. The time now is 11:54 PM.
Previous Next