User Profile & Activity

leo Chandra Member
Page
of 14
Posted: January 26, 2015 8:07 AM

Hi x-rookie,


Regarding the missing WebGrid line, there is a possibility that it is a bug from WebInput that overwrite WebGrid style. For the time being, you could use the following hack technique to solve it.

Run the following function on WebGrid OnInitialize ClientSide Event:

function WebGrid1_OnInitialize() {	style = document.createElement("style");
	if (document.getElementById("ISWebUI_Styles"))
		style.innerHTML = document.getElementById("ISWebUI_Styles").innerHTML;
	document.head.appendChild(style);
}

That should solve it.

Regarding PopUp window, Please elaborate on your specific scenario and possibly give me a simple sample that I can use to observe the problematic behaviour.


Best Regards,

Leo

Posted: January 16, 2015 6:04 AM

Hi Ryan Herman,

To used Xamarin Unified API you must upgrade your project with Project Migration tool that is exist in Xamarin Studio. You could refer to http://blog.intersoftpt.com/2014/12/crosslight-introduces-support-for-xamarin-unified-api/ for more information regarding it.

Basically the step are the following:
1. Select iOS project and Migrate it by selecting Project > Migrate to Xamarin.iOS Unified API.
2. Remove existing Intersoft.Crosslight.iOS assemblies under iOS project.
3. Add the new Intersoft.Crosslight.iOS Unified assemblies from the bin\iOS.Unified folder.

Please inform me whether your project have been migrate using above step or using other scenario.
If the problem still persist after the migration, please kindly provide me with a sample if possible.

Thanks you.


Best Regards,
Leo

Posted: January 16, 2015 2:31 AM

Hi Alexandre Liard,

Please set IsGeneral to "False" for each holidays that should not be repeated.
That should do it.

Best Regards,
Leo

Hi Javier Bailón,


Please change 'functionName' according to the name of function inside iframe which you would like to call.

As a reference, I have attached a simple working sample. Please have the sample evaluated on your end by adding it to WebDesktop sample which is included in the installation folder.


Best Regards,

Leo

Hi Javier Bailón,


You could easily access function in the content iframe of desktopwindow using the following JavaScript:
ISGetObject("WebDesktopManagerID").GetIFrameWindow("WebDesktopWindowName").functionName();

Hope this is useful.


Best Regards,

Leo

Posted: January 13, 2015 3:48 AM

Hi Durga Mohan,

I tried to reproduce the issue in my local end following the step that you have provided. 

The detail steps are:
1. Create a table with 3 rows
2. Add asp:DropDownList to the first row.
3. Add asp:Button to the second row.
4. Add Webgrid to the third row.

Unfortunately I couldn't replicate the issue. Webgrid was render in third row, and control on the first row and button on the second row was shown (not get hidden by Webgrid). For your information, I'm using WebGrid 9.0.7200.1 and WebUI.NET Framework 3.0.5000.913.

I have attached a simple sample which I use to reproduce the issue. Please have the sample evaluated on your end by adding it to WebGrid sample which is included in the installation folder.

Please feel free to let me know if you find anything that I might miss during my attempt to reproduce the issue.


Best Regards,

Leo

Hi Takashi Koyama,

For your information, updating webgrid should only affected your project bin folder.
So there should be no problem in updating webgrid.

Just in case, could you provide me the following information about your project:
1. WebGrid version before and after update.
2. WebUI version.
3. Source Control that is used.

And could you provide me a screen shot about error that you are facing?

Regards,
Leo

Hi Hachi K,

You could use WebFlyPostBackManager to instantly convert standard .NET controls (in this case asp:button) that perform page postback become AJAX callback.

For a working sample, you could refer to TemplatedCell.aspx sample which located in installation folder.

Regards.

Posted: January 5, 2015 10:26 AM

Hi Ernesto Barrera,

As an alternative, you could prevent postback event from being fired using javascript.
The solution would be something like bellow.

1. Create javascript function that will prevent postback event :

function prevent(event) {
	/* do something here */
	
	// Prevent the default event and Prevent the event from bubbling up
	event.preventDefault();
	event.stopPropagation();
	return false;
}

2. Attach that function to the button mousedown event.

Protected Sub WGridGestiontareas_InitializeRow(sender As Object, e As RowEventArgs)
	If e.Row.Type = RowType.Record Then
		Dim customObjectAttributes As String = " onmousedown = ""prevent(event)"" type = ""button"""
		e.Row.Cells.GetNamedItem("ACTIVAR").CustomObjectAttributes =  customObjectAttributes
	End If
End Sub

Please let us know whether this solution work at your end.

Regards.

Posted: January 2, 2015 1:54 AM

Hi Spring gao,

Sorry for my late response.

If you want that script to run whenever checkbox (on checker column) was clicked, you could add OnCheckBoxClick client event which could be access via WebGrid Properties >> LayoutSettings >> ClientSideEvents >> OnCheckBoxClick. Specify JavaScript that you want to run there.

The result reflected on ASP code side would be something like bellow

<LayoutSettings>
<ClientSideEvents OnCheckBoxClick="getCheckedValues()"/>
</LayoutSettings>

Hope this will be useful.

Best Regards,
Leo

All times are GMT -5. The time now is 7:31 PM.
Previous Next